From 4c0d054deb442f8df00b436828b2f2393ab3aa48 Mon Sep 17 00:00:00 2001 From: mihai2mn Date: Sat, 24 Jan 2026 16:52:48 +0100 Subject: [PATCH] feat(rog-dbus): Expose aura animation methods --- rog-dbus/src/zbus_aura.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/rog-dbus/src/zbus_aura.rs b/rog-dbus/src/zbus_aura.rs index 95c97fb1..1c74f4db 100644 --- a/rog-dbus/src/zbus_aura.rs +++ b/rog-dbus/src/zbus_aura.rs @@ -84,6 +84,21 @@ pub trait Aura { /// SupportedPowerZones property #[zbus(property)] fn supported_power_zones(&self) -> zbus::Result>; + + /// Start a software-controlled animation in the daemon + /// `mode_json` is a JSON-serialized AnimationMode + fn start_animation(&self, mode_json: String) -> zbus::Result<()>; + + /// Stop any running animation + fn stop_animation(&self) -> zbus::Result<()>; + + /// AnimationRunning property - check if animation is active + #[zbus(property)] + fn animation_running(&self) -> zbus::Result; + + /// AnimationMode property - get current animation mode as JSON + #[zbus(property)] + fn animation_mode(&self) -> zbus::Result; } pub struct AuraProxyPerkey<'a>(AuraProxyBlocking<'a>);