Commit Graph
100 Commits
Author SHA1 Message Date
Luke D Jones 708712e00a Next CI try 2020-08-23 14:50:22 +12:00
Luke D Jones 25ee250542 Trial by fire of gitlab CI 2020-08-23 14:48:41 +12:00
Luke D Jones b921b68c57 Update G531GW config
Closes #3
2020-08-23 14:18:19 +12:00
Luke D Jones f0c5c3af86 Bugfixes 2020-08-13 20:39:56 +12:00
Luke D Jones 96b0f40886 Fix deadlock 2020-08-13 17:03:48 +12:00
Luke D Jones 4a5f029e53 Fix deadlocks on some awaits 2020-08-13 16:59:36 +12:00
Luke D Jones 53c1a0ffcf Releasing 2020-08-13 14:28:40 +12:00
Luke D Jones 760d5be8eb Handle config errors better 2020-08-11 14:36:37 +12:00
Luke D Jones ad114a1f1b Watch and save kbd LED brightness 2020-08-11 14:17:58 +12:00
Luke D Jones 869d9a5b32 Rename RGB to Per_KEY 2020-08-11 12:37:01 +12:00
Luke D Jones c0f258f09f Read config before changing and writing 2020-08-11 12:24:57 +12:00
Luke D Jones 756c5f674e Better laptop LED mode handling 2020-08-11 12:16:23 +12:00
Luke D Jones 88724a6d05 More DSL 2020-08-05 14:37:14 +12:00
Luke D Jones 4383464f73 Update readme 2020-08-04 22:22:57 +12:00
Luke D Jones 4011bdd554 Add G731 support 2020-08-04 22:04:25 +12:00
Luke D Jones 7adb477e1b Fix systemd service 2020-08-04 21:14:39 +12:00
Luke D Jones d4032379b0 Add missing deb files 2020-08-04 21:07:01 +12:00
Luke D Jones 5b27456b6d Attempt to update deb packaging 2020-08-04 21:06:32 +12:00
Luke D Jones 3615cff09d Refactor and rename a large amount of things to cleanup meanings 2020-08-04 20:57:26 +12:00
Luke D Jones 584ca023ad Complete rename 2020-08-04 20:08:09 +12:00
Luke D Jones 76a8f7678c Move two common functions to a trait object 2020-08-04 16:26:34 +12:00
Luke D Jones 1041cf5dbc Small fix to RGB per-key 2020-08-03 15:39:18 +12:00
Luke D Jones b0a267b412 Rearchitect 2020-08-03 12:42:02 +12:00
Luke D Jones 16681d03dd Safe get of led devnode 2020-08-03 08:08:41 +12:00
Luke D Jones d757a936e8 working with hardcoded devnode. need to change 2020-08-02 21:45:14 +12:00
Luke D Jones a879907bc3 Move fast, break things 2020-08-01 23:06:36 +12:00
Luke D Jones 4c32901467 Merge branch 'master' of github.com:flukejones/rog-core 2020-08-01 22:21:50 +12:00
Luke D Jones c624a6c3ec Prepare for next work 2020-08-01 22:21:26 +12:00
Luke JonesandGitHub c41d11ef43 Update README.md 2020-07-23 10:52:17 +12:00
Luke 85f2ce66ee Update per-key spreadsheet 2020-07-22 11:09:39 +12:00
Luke fa9720e95f Add g531 wireshark caps 2020-07-22 10:53:39 +12:00
Luke b8faaa665d Correct two laptop profiles. Update readme 2020-07-22 10:34:09 +12:00
Luke bffe40d764 Prep new release
Closes #30, #31, #32
2020-07-21 22:05:50 +12:00
Luke 73ab17bf7d Tidy code. Add G532 support 2020-07-21 21:13:12 +12:00
Luke 5e69eb4bbd Change support level for GX531 2020-07-21 14:05:51 +12:00
Luke JonesandGitHub 2497aa488c Update README.md 2020-07-10 13:43:29 +12:00
Luke 9fea5a4126 Change calc keycode to correct byte 2020-07-09 20:32:43 +12:00
Luke 4f4e0b8f3f Support fn+calc on G712. Customise ROG key 2020-07-09 11:17:14 +12:00
Luke 1f297ba98e Finalise udev rules for init 2020-07-08 21:53:37 +12:00
Luke 1d28290759 Update discord link 2020-07-08 20:01:02 +12:00
Luke dbc5901cb6 Try reorder of init loop 2020-07-08 12:03:37 +12:00
Luke 857ef8bcb8 Many fixes for debian build 2020-07-07 20:50:09 +12:00
Luke ae9d0463da Improvements to service init 2020-07-07 19:07:18 +12:00
Luke c6c934bf40 Test for retry of driver detach and interface claim 2020-07-07 14:53:23 +12:00
Luke JonesandGitHub 229fa93bc7 Dbus signals (#28)
* Small rename of dbus args
* Split out parts of main loop to tasks
* Send signals on boot
2020-07-07 13:33:32 +12:00
Luke 2dc61fe994 Fix a clippy lint 2020-07-05 21:31:40 +12:00
Luke 8da748bf7f Fix many small bugs in refactor of laptop LED mode handling
Closes issue #27
2020-07-05 21:24:07 +12:00
Luke 98ffa817e6 Proper fix of laptop mode conversion bug 2020-07-05 13:33:45 +12:00
Luke a4c5b2754e Try to correct how laptop modes are handled 2020-07-05 00:23:12 +12:00
Luke 202fbe6800 Add support for GU502 2020-07-04 20:07:23 +12:00
Luke f870f0adf0 Support for G512LU 2020-07-04 10:06:18 +12:00
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 JonesandGitHub f85c8cbc50 Update README.md 2020-06-29 10:16:24 +12:00
Luke JonesandGitHub 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 JonesandGitHub 0b2df1b468 Update README.md 2020-06-26 10:27:34 +12:00
Luke JonesandGitHub 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 JonesandGitHub 7091caf48b Update README.md 2020-06-24 15:37:28 +12:00
Luke JonesandGitHub 098652aadb Update README.md 2020-06-24 11:14:26 +12:00
Luke JonesandGitHub 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
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
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 JonesandGitHub 962216051f Merge pull request #17 from Meumeu/master
Fix rebasing mistake
2020-06-11 09:14:08 +12:00
Luke JonesandGitHub 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
Luke JonesandGitHub b121d888d9 Update bug_report.md 2020-06-10 21:04:25 +12:00
Luke JonesandGitHub 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
Luke JonesandGitHub d0fe8488bd Merge pull request #16 from shoenig/daemon-reload
Add note about daemon-reload in README
2020-06-10 16:30:31 +12: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
Luke 9ddd7da1c2 Trial of skipping ever n pixel in width 2020-06-04 21:29:41 +12:00
Luke 8d19db9f0e Test bmp display 2020-06-04 20:15:13 +12:00
Luke 352cc5e2cb Final data format and conversion for AniMe 2020-06-03 22:49:36 +12:00
Luke 0530786ee5 Light up right side only in test 2020-06-03 20:46:33 +12:00
Luke fe0f8568bc Test format of anime data 2020-06-03 20:30:50 +12:00
Luke 42bf22f76a Use set_no_reply(true) on certain messages 2020-06-03 10:51:17 +12:00
Luke ffb62bbcdd Add wheel group for dbus on gentoo 2020-06-02 20:32:46 +12:00
Luke 8e98aafddd Finalise anime matrix stuff. Many fixes 2020-06-02 20:14:32 +12:00
Luke e3eccef193 Adjust dbus sleep for aura crate 2020-06-02 11:38:17 +12:00