rog-platform: add power (basics)

- Refactor the macros
- Add inotify creator for each attribute
This commit is contained in:
Luke D. Jones
2022-08-20 21:07:34 +12:00
parent 033f2141ef
commit f8cdde2adf
17 changed files with 345 additions and 187 deletions

View File

@@ -135,7 +135,7 @@ impl Default for AuraConfig {
}
if let Ok(p) = KeyboardLed::new() {
if p.has_keyboard_rgb_mode() {
if p.has_kbd_rgb_mode() {
prod_id = AuraDevice::Tuf;
}
}