mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Adjust how thread exit is handled for anime controller
This commit is contained in:
@@ -59,7 +59,10 @@ pub struct LedModeCommand {
|
||||
help = "set the keyboard LED suspend animation to enabled while the device is suspended"
|
||||
)]
|
||||
pub sleep_enable: Option<bool>,
|
||||
#[options(meta = "", help = "set the full keyboard LEDs (keys and side) to enabled")]
|
||||
#[options(
|
||||
meta = "",
|
||||
help = "set the full keyboard LEDs (keys and side) to enabled"
|
||||
)]
|
||||
pub all_leds_enable: Option<bool>,
|
||||
#[options(meta = "", help = "set the keyboard keys LEDs to enabled")]
|
||||
pub keys_leds_enable: Option<bool>,
|
||||
|
||||
@@ -365,8 +365,7 @@ fn handle_led_mode(
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if supported.multizone_led_mode && command.trim().starts_with("multi")
|
||||
{
|
||||
if supported.multizone_led_mode && command.trim().starts_with("multi") {
|
||||
return true;
|
||||
}
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user