Commit Graph
100 Commits
Author SHA1 Message Date
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
Luke d9fc7de5cb Initial groundwork of animatrix 2020-06-02 11:37:41 +12:00
Luke ca5d625cec Fine tune RGB sleep period 2020-06-02 11:09:45 +12:00
Luke c4cef7a9fe Update readme with credit 2020-05-31 22:02:52 +12:00
Luke 3e3ee9d3ff Update readme with credit 2020-05-31 21:42:27 +12:00
Luke ef50c559e2 Update readme with credit 2020-05-31 21:38:36 +12:00
Luke c161752dc7 Merge branch 'master' of github.com:flukejones/rog-core 2020-05-31 20:42:40 +12:00
Luke 4014f81e43 Add contributing.md, update readme 2020-05-31 20:41:37 +12:00
Luke JonesandGitHub 7cf92f1872 Create FUNDING.yml 2020-05-29 13:07:16 +12:00
Luke JonesandGitHub fdc7c9d112 Create rust.yml 2020-05-29 13:03:46 +12:00
Luke b663a7377d Update readme 2020-05-23 20:03:47 +12:00
Luke 727aa3066d Should correctly set AMD boost 2020-05-23 19:25:00 +12:00
Luke da05b8d90c Fix help for fan-mode cli 2020-05-23 18:10:05 +12:00
Luke 88d5343db8 Bump version 2020-05-23 15:06:37 +12:00
Luke a25e7ddb27 Add boost toggle for AMD 2020-05-23 14:37:12 +12:00
Luke 46041c0343 Send fan-mode over dbus. Fix multizone dbus command
Closes issue #7
2020-05-23 14:21:16 +12:00
Luke de10fe13e7 In-progress 2020-05-23 13:23:58 +12:00
Luke 0b3046b31f More verbose error log on startup 2020-05-23 09:41:28 +12:00
Luke 8f9c81e863 Laptop profiles, refactor multizone
- Start differentiating between models using the 0x1866 USB device
- Refactor how to send multizone over dbus, and how to write it (write 4 packets before writing SET/APPLY)
- Begin implementing profiles per board_name
2020-05-22 22:23:32 +12:00
Luke bd67afb104 Attempt to get multi-static working 2020-05-22 20:53:19 +12:00
Luke 5e781cbd3d Fix needing to double-tap fan-mode to change mode 2020-05-22 15:40:14 +12:00
Luke Jones 0e6f6f3289 Many small fixes
- Flip writing order of effect colour blocks every other block write to try
  and even out. Previously the bottom rows were always last to be written.
- Add more examples: ball, comet, pulser.
- Refine the keyboard layout grid for GX502.
- Use tokio to delay main loop, not thread::sleep
- Minor tweaks to error handling. Needs refactor of errors.
2020-05-22 15:17:52 +12:00
Luke 2381a64b71 Use tokio to delay main loop, not thread::sleep 2020-05-08 21:37:51 +12:00
Luke e09dd345c0 Bouncy ball example 2020-05-06 23:58:38 +12:00
Luke 497ba61d22 Try to handle fan-mode fail better 2020-05-06 07:38:35 +12:00
Luke 4d7bc77dff Improve per-key LED. Add extra example
- Small fixes to use all keys on GX502
2020-05-05 22:15:18 +12:00
Luke f11afdbc7d Fix reloading last keyboard brightness on boot 2020-05-05 14:21:19 +12:00
Luke Jones 7a8af1266a Fixes to functionality 2020-05-04 15:42:15 +12:00
Luke 62a613a312 Small fixxes to functionality
- Fixed return of rog-core in client mode
- Fixed writing of customised builtin LED modes
2020-05-04 15:33:41 +12:00
Luke Jones a0d256cbef Internal fixes to prevent deadlocks on mutexes 2020-05-04 13:25:56 +12:00
Luke Jones f50d745797 Internal fixes to prevent deadlocks on mutexes 2020-05-04 13:21:48 +12:00
Luke 0350b64efc Add changelog, version bump 2020-05-04 13:18:02 +12:00
Luke 89c868ce95 Refactor code to reduce LedWriter to single thread
- Fixes race conditions (mostly) between awaits
- Fixes possible deadlock of mode changes when effect is running
- Fixes sending kill signal to effect clients
2020-05-04 12:35:27 +12:00
Luke 23d84b063f Update readme with PPA 2020-05-02 21:47:52 +12:00
Luke 2e54242e55 .deb build fixes 2020-05-02 21:19:46 +12:00
Luke b5c7a47249 Cut new release with debian builds 2020-05-02 20:55:32 +12:00
Luke f12bb1d4f6 Allow configuration of intel pstates paired with fan-modes 2020-05-02 19:31:40 +12:00
Luke 1a967f315b Bump release 2020-05-01 22:08:15 +12:00
Luke bf6bf2e2f1 Big refactor out of Aura LED data structs 2020-05-01 22:07:28 +12:00
Luke 38ab4bc182 Refactor to prepare splitting out aura for CLI effects 2020-05-01 21:16:17 +12:00
Luke 37dd181230 Code cleanup 2020-05-01 14:50:52 +12:00
Luke 9f4b2068a1 Version bump 2020-04-30 22:10:01 +12:00
Luke 8b36f1ceec Much better use of async throughout 2020-04-30 22:06:54 +12:00
Luke 5ee57b21c9 unsafe pointery stuff 2020-04-30 19:00:58 +12:00
Luke 596d523a89 Reorganise some async code 2020-04-30 15:41:12 +12:00
Luke 4e78a5dbdd Code cleanup 2020-04-29 15:44:15 +12:00
Luke f818ffa191 Manage max CPU freq/boost-mode in combination with fan modes 2020-04-29 10:50:17 +12:00
Luke 7f5b0f4c53 Switch to emitting key-codes for backlight control 2020-04-29 08:58:08 +12:00
Luke 9aa431f0d6 Add product code for GL703 0x1869 2020-04-28 08:09:40 +12:00
Luke c6fee63789 Clean up the main loop 2020-04-27 09:25:18 +12:00
Luke 8200dc85e6 Move DBUS and keyboard reads on to tokio
This greatly improves throughput of per-key LED effects.
Also add a cool-down timer in the main loop to adjust
thread speed and prevent it running at maximum speed.
2020-04-26 23:00:29 +12:00
Luke 13e736dbed First pass for tokio 2020-04-26 15:14:00 +12:00
Luke b821ebe267 Better timing values for responsiveness and less CPU time 2020-04-25 16:46:10 +12:00
Luke 7be66f31e8 Testing 2020-04-25 08:45:23 +12:00
Luke f05103b5c9 Am I writing slow code? No, it's the keyboard EC who is slow - Seymour 2020-04-24 23:42:06 +12:00
Luke 9846437efb Writing an interrupt seems so slow... 2020-04-24 23:14:09 +12:00
Luke ccae9dd764 Per-key example 2020-04-24 22:01:13 +12:00
Luke 515888393c Make laptop matching more generic using product_id instead of board_name 2020-04-24 07:38:52 +12:00
Luke 42a2675a07 Make nicer fanlevel log entry 2020-04-23 21:28:35 +12:00
Luke 588c71d9ae Fan mode toggling enabled 2020-04-23 20:48:14 +12:00
Luke 11548217b7 Attempt to support GA502DU, GL753VE. Bump version 2020-04-23 16:34:30 +12:00
Luke 7b3c2acd5e Use atomics for dbus thread. Update deps 2020-04-23 10:36:11 +12:00
Luke 8c1166c615 Match all keys on GX502 for perkey leds 2020-04-23 09:02:04 +12:00
Luke 3cc804d4a3 Per-key LED effects trial. Better LED write 2020-04-23 07:26:10 +12:00
Luke ccefd30102 Further clean up. Prep for trialling per-key led set 2020-04-22 14:45:49 +12:00
Luke a38541ba4b Total refactor of structure. Builds faster 2020-04-21 22:51:53 +12:00
Luke e21a6e3fb3 Change module/method visibility 2020-04-21 21:07:30 +12:00
Luke 44fb0ee139 Add virtual keyboard so touchpad can be toggled :/ 2020-04-21 16:04:15 +12:00
Luke 53cc265bbd Update readme 2020-04-20 22:12:59 +12:00
Luke d6f88e56aa Much better handling of keys 2020-04-20 22:03:10 +12:00
Luke 21f89807d0 Better handling 2020-04-20 20:56:49 +12:00
Luke a78b3ffd84 Test non-async. Shit doesn't need to be fancy 2020-04-20 17:36:06 +12:00
Luke 8187be0bec Virtual keyboard to repeat keys 2020-04-20 17:13:08 +12:00
Luke e34f085880 Update readme 2020-04-19 16:58:38 +12:00
Luke 586aa22475 small refactor 2020-04-19 14:25:29 +12:00
Luke 221b230acb More logging 2020-04-19 10:25:50 +12:00
Luke cfddb6077a claim and release keyboard to read or Vol/Usb fails 2020-04-19 09:20:12 +12:00
Luke 11206e2209 Update readme 2020-04-18 22:06:42 +12:00
Luke 5b24d24659 Logging, better error handling 2020-04-18 21:39:24 +12:00
Luke ed74ca3d58 Add airplane mode toggle 2020-04-18 14:12:53 +12:00
Luke fb02604dc6 Use systemctl to suspend 2020-04-18 13:31:07 +12:00
Luke 9382588ce7 Control the backlight 2020-04-18 13:13:36 +12:00
Luke 3788fbf095 Start bringing up laptop detection 2020-04-18 08:23:24 +12:00
Luke a8a97bcece Better settings, save proper defaults, check supported modes 2020-04-17 21:57:49 +12:00
Luke e1d2e913c5 Start mapping hotkeys. Aura cycling done 2020-04-17 17:42:01 +12:00
Luke 1616633abf Bright go up. Bright go down. 2020-04-17 15:21:26 +12:00
Luke e49799e4d2 Polling keyboard in daemon. Split into app/lib 2020-04-17 12:04:20 +12:00
Luke 5f8ea365ef Janky config save/load. Fine for builtin modes 2020-04-16 22:07:23 +12:00
Luke 0a88b5b20a Small fixes 2020-04-16 20:16:13 +12:00
Luke e0402d99e7 Update readme. Add wireshark data 2020-04-16 16:02:16 +12:00
Luke 7289d7d0e2 Update readme 2020-04-16 15:51:08 +12:00
Luke 2d4953d87b Partial daemon mode for builtin LED control 2020-04-16 15:44:00 +12:00
Luke 0d5341e003 Bump version for release tagging 2020-04-16 11:20:41 +12:00
Luke 26a49d518b Small fixes everywhere 2020-04-16 11:08:25 +12:00