mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
Add support for mini_led_mode get/set
- asusd get/set, zbus methods - Rog control center notification, tray menu, UI entry
This commit is contained in:
@@ -40,6 +40,9 @@ trait RogBios {
|
||||
/// PanelOd method
|
||||
fn panel_od(&self) -> zbus::Result<bool>;
|
||||
|
||||
/// MiniLedMode method
|
||||
fn mini_led_mode(&self) -> zbus::Result<bool>;
|
||||
|
||||
/// PostBootSound method
|
||||
fn post_boot_sound(&self) -> zbus::Result<i16>;
|
||||
|
||||
@@ -55,6 +58,9 @@ trait RogBios {
|
||||
/// SetPanelOd method
|
||||
fn set_panel_od(&self, overdrive: bool) -> zbus::Result<()>;
|
||||
|
||||
/// SetminiLedMode
|
||||
fn set_mini_led_mode(&self, on: bool) -> zbus::Result<()>;
|
||||
|
||||
/// SetPostBootSound method
|
||||
fn set_post_boot_sound(&self, on: bool) -> zbus::Result<()>;
|
||||
|
||||
@@ -74,6 +80,10 @@ trait RogBios {
|
||||
#[dbus_proxy(signal)]
|
||||
fn notify_panel_od(&self, overdrive: bool) -> zbus::Result<()>;
|
||||
|
||||
/// NotifyMiniLedMode signal
|
||||
#[dbus_proxy(signal)]
|
||||
fn notify_mini_led_mode(&self, on: bool) -> zbus::Result<()>;
|
||||
|
||||
/// NotifyPostBootSound signal
|
||||
#[inline]
|
||||
#[dbus_proxy(signal)]
|
||||
|
||||
Reference in New Issue
Block a user