mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Update readme, slash configs
This commit is contained in:
@@ -10,7 +10,7 @@ use crate::{attr_u8, has_attr, set_attr_u8_array, to_device};
|
||||
/// for Aura keyboards
|
||||
#[derive(Debug, Default, PartialEq, Eq, PartialOrd, Clone)]
|
||||
pub struct KeyboardBacklight {
|
||||
path: PathBuf,
|
||||
path: PathBuf
|
||||
}
|
||||
|
||||
impl KeyboardBacklight {
|
||||
@@ -51,12 +51,12 @@ impl KeyboardBacklight {
|
||||
if sys.contains("kbd_backlight") || sys.contains("ally:rgb:gamepad") {
|
||||
info!("Found keyboard LED controls at {:?}", device.sysname());
|
||||
return Ok(Self {
|
||||
path: device.syspath().to_owned(),
|
||||
path: device.syspath().to_owned()
|
||||
});
|
||||
}
|
||||
}
|
||||
Err(PlatformError::MissingFunction(
|
||||
"KeyboardLed:new(), asus::kbd_backlight not found".into(),
|
||||
"KeyboardLed:new(), asus::kbd_backlight not found".into()
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user