mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Rebuild of LED power control
This commit is contained in:
@@ -11,16 +11,6 @@ use zvariant::Type;
|
||||
|
||||
use crate::{error::Error, LED_MSG_LEN};
|
||||
|
||||
#[cfg_attr(feature = "dbus", derive(Type))]
|
||||
#[derive(Debug, PartialEq, Copy, Clone, Deserialize, Serialize)]
|
||||
pub struct LedPowerStates {
|
||||
pub boot_anim: bool,
|
||||
pub sleep_anim: bool,
|
||||
pub all_leds: bool,
|
||||
pub keys_leds: bool,
|
||||
pub side_leds: bool,
|
||||
}
|
||||
|
||||
#[cfg_attr(feature = "dbus", derive(Type))]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Deserialize, Serialize)]
|
||||
pub enum LedBrightness {
|
||||
|
||||
Reference in New Issue
Block a user