Commit Graph

162 Commits

Author SHA1 Message Date
Luke e562428dbf Fix default colour to be red 2020-07-02 09:01:46 +12:00
Luke 9f8834fc4f dbus-send examples 2020-07-01 19:59:20 +12:00
Luke efe88aa675 Prep new version 2020-07-01 11:12:05 +12:00
Luke cff0af76c8 Additional dbus methods 2020-07-01 11:00:11 +12:00
Luke a731361278 Document dbus a bit better 2020-06-30 21:55:49 +12:00
Luke 898276494c Remove around 14 transitive dependencies 2020-06-30 20:49:44 +12:00
Luke 70a1bc3487 End up duplicating the CLI structs but without help member 2020-06-30 16:56:47 +12:00
Luke 9fad94a834 Simplify and remove further code 2020-06-30 16:02:12 +12:00
Luke 20b82b1f24 Init device correctly for LED control 2020-06-30 10:08:48 +12:00
Luke b751ceb29e Prep release 2020-06-29 22:02:54 +12:00
Luke 32e9e63809 Refactor dbus commands and internal data structures 2020-06-29 21:30:27 +12:00
Luke Jones f85c8cbc50 Update README.md 2020-06-29 10:16:24 +12:00
Luke Jones 3ad15d61c9 Dbus expand (#24)
* Dbus changes
  - Changed "FanMode", "ChargeLimit" to "SetFanMode", "SetChargeLimit"
  - Added dbus signals "FanModeChanged", "ChargeLimitChanged"
  - Added dbus methods "GetFanMode", "GetChargeLimit"
* Refactor of internal loop and tokio tasks
* Add support for ROG Strix G712LV_G712LV
* Correctly read the config before writing changes
2020-06-29 10:03:27 +12:00
Luke 4922042432 Add dbus methods and CLI args for battery charge limit 2020-06-26 16:44:01 +12:00
Luke baa5cef625 Add ability to set BAT0/charge_control_end_threshold 2020-06-26 16:23:14 +12:00
Luke Jones 0b2df1b468 Update README.md 2020-06-26 10:27:34 +12:00
Luke Jones 6f718ac51f Update README.md 2020-06-26 09:14:18 +12:00
Luke 710e8228b0 Code cleanup, add more USB hid docs 2020-06-25 10:39:09 +12:00
Luke Jones 7091caf48b Update README.md 2020-06-24 15:37:28 +12:00
Luke Jones 098652aadb Update README.md 2020-06-24 11:14:26 +12:00
Luke Jones f9eebccdee Add link to discord server 2020-06-24 11:14:02 +12:00
Luke 3fec275fa0 Finalise G531GT support 2020-06-24 09:40:54 +12:00
Luke 08801f8bfc Trial of adding G531GT support - similar to GX502 2020-06-23 13:55:36 +12:00
Luke 7246acbb66 Add GX531 LED modes 2020-06-17 22:13:24 +12:00
Armas Spann ef21884081 corrected position of dev_handle.reset() (#21) 2020-06-17 19:47:23 +12:00
Armas Spann 271a206598 Keyboard backlight fix for G14/G15 (#20)
* fixed mode and brightness combination if mmode is empty
* corrected order in laptops
2020-06-13 07:52:13 +12:00
Luke 7e9c78605b Safely index modes 2020-06-11 21:02:46 +12:00
Luke bf3588e516 Move led_writer to a main loop due to strange mpsc behaviour 2020-06-11 20:39:28 +12:00
Luke 93c6b28409 Need to revert tokio mpsc to sync 2020-06-11 17:29:44 +12:00
Luke 3eba038b16 Revise cherrypick of edits from meumeu 2020-06-11 16:25:46 +12:00
Guillaume Meunier b3234e3d59 Put animatrix stuff in a separate loop to avoid waiting before displaying an image 2020-06-11 15:51:15 +12:00
Luke bd0b2ac82f Refactor device initialisation 2020-06-11 10:17:56 +12:00
Luke 0b51f61f7a rogcore: match interface with keyboard endpoint instead 2020-06-11 09:52:00 +12:00
Luke Jones 962216051f Merge pull request #17 from Meumeu/master
Fix rebasing mistake
2020-06-11 09:14:08 +12:00
Luke Jones 2bf8a05a7e Merge pull request #19 from aspann/as/ga501_fixup
fixed build errors on rust - removed RGB support for GA502
2020-06-11 09:10:51 +12:00
Armas Spann efc9d22d52 fixed linting issue 2020-06-10 21:02:00 +02:00
Armas Spann 4d6fd32183 fixed build errors on rust - removed RGB support for GA502 2020-06-10 20:54:57 +02:00
Guillaume Meunier f4f7e6b4d8 Fix rebasing mistake 2020-06-10 11:10:01 +02:00
Luke Jones b121d888d9 Update bug_report.md 2020-06-10 21:04:25 +12:00
Luke Jones 46c543e605 Update issue templates 2020-06-10 21:03:16 +12:00
Luke befa711ed9 Update changelog, extra dbus tweaks 2020-06-10 20:49:10 +12:00
Guillaume Meunier 6d1ff90303 Add org.freedesktop.DBus.Method.NoReply annotations 2020-06-10 20:40:55 +12:00
Guillaume Meunier 5f37a319c5 Dbus cleanup
Use DBUS_NAME instead of DBUS_IFACE when requesting the name
Add missing method_return()s
Give different names for the bytearray arguments so that pydbus is not confused
2020-06-10 20:40:55 +12:00
Guillaume Meunier c9ba06d6b4 Make the dbus interface introspectable 2020-06-10 20:39:58 +12:00
Luke Jones d0fe8488bd Merge pull request #16 from shoenig/daemon-reload
Add note about daemon-reload in README
2020-06-10 16:30:31 +12:00
Seth Hoenig 182ea89417 Add note about daemon-reload in README 2020-06-09 08:18:06 -05:00
Luke d53cef8268 Trial of fixing github action 2020-06-09 21:25:56 +12:00
Luke d1c0b70084 Builddeb 2020-06-09 20:48:39 +12:00
Luke 964c24f8fa Final round of fixes for new version 2020-06-09 20:46:14 +12:00
Luke cb8032c7c2 Create AniMe device only if physical device exists
The call to create the device handler will return with an error if
the physical device doesn't exist, the device (if exists) is stored
in an option already so just keep that as `None` if errored.

Addresses issue #14
2020-06-08 19:57:05 +12:00