mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Anime: add base brightness control (dbus, cli)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use rog_anime::usb::Brightness;
|
||||
use rog_anime::{AnimeDataBuffer, AnimePowerStates};
|
||||
use zbus::dbus_proxy;
|
||||
|
||||
@@ -9,7 +10,10 @@ trait Anime {
|
||||
/// Set whether the AniMe will show boot, suspend, or off animations
|
||||
fn set_animation_enabled(&self, status: bool) -> zbus::Result<()>;
|
||||
|
||||
/// Set the global AniMe brightness
|
||||
/// Set the global base brightness
|
||||
fn set_brightness(&self, bright: Brightness) -> zbus::Result<()>;
|
||||
|
||||
/// Set the global (image) brightness
|
||||
fn set_image_brightness(&self, bright: f32) -> zbus::Result<()>;
|
||||
|
||||
/// Set whether the AniMe is displaying images/data
|
||||
|
||||
Reference in New Issue
Block a user