Add brightness to anime zbus notif

This commit is contained in:
Luke D. Jones
2022-06-06 18:24:08 +12:00
parent 5c0ad3e590
commit 74e1d5bdc4
2 changed files with 5 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ const USB_PREFIX2: [u8; 7] = [0x5e, 0xc0, 0x02, 0x74, 0x02, 0x73, 0x02];
#[cfg_attr(feature = "dbus", derive(Type))]
#[derive(Debug, PartialEq, Copy, Clone, Deserialize, Serialize)]
pub struct AnimePowerStates {
pub brightness: u8,
pub enabled: bool,
pub boot_anim_enabled: bool,
}