Better settings, save proper defaults, check supported modes

This commit is contained in:
Luke
2020-04-17 21:41:12 +12:00
parent e1d2e913c5
commit a8a97bcece
13 changed files with 382 additions and 303 deletions

View File

@@ -6,7 +6,7 @@ The laptop I currently have is the GX502RW and so I'll be using that for the bas
## Requirements
- Rust!
- `rustc`, `cargo`
- `libusb-1.0-0-dev` or equivalent package for your distro
- `libdbus-1-dev` or equivalent package for your distro
@@ -45,22 +45,24 @@ rog-core <command> <subcommand> --help
## Daemon mode
Currently the last used brightness and builtin mode will be saved when set, and loaded when the daemon is started. The effect here is the last settings used are the ones loaded on boot.
Currently the last used brightness and builtin mode will be saved when set, and loaded when the daemon is started. The effect here is the last settings used are the ones loaded on boot. The daemon also saves the settings per mode as the keyboard does not do this itself - this means cycling through modes with the Aura keys will use the settings that were used via CLI.
Currently if no options are supplied for the CLI mode selection then a default is used, and this will overwrite the saved setting. I will fix this at a later date.
## Implemented
- [X] Setting/modifying built-in LED modes
- [ ] Per-key LED setting
- [ ] Fancy LED modes (custom programs)
- [X] Daemon mode (functionally done)
- [X] Saving settings for reload (needs further work)
- [X] Daemon mode
- [X] Saving settings for reload
- [ ] System control
- [ ] Capture and use hotkeys, e.g, Aura controls to control LEDs
- [X] Capture and use hotkeys **Partially completed: aura keys work**
- [ ] Logging - required for journalctl
## Wireshark captures
TODO
TODO: see `./wireshark_data/` for some captures.
## License