mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Fix keyboard light
This commit is contained in:
@@ -971,6 +971,24 @@
|
|||||||
advanced_type: r#None,
|
advanced_type: r#None,
|
||||||
power_zones: [Keyboard],
|
power_zones: [Keyboard],
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
device_name: "GZ302",
|
||||||
|
product_id: "18c6",
|
||||||
|
layout_name: "",
|
||||||
|
basic_modes: [Static, Breathe, Pulse],
|
||||||
|
basic_zones: [],
|
||||||
|
advanced_type: r#None,
|
||||||
|
power_zones: [Logo],
|
||||||
|
),
|
||||||
|
(
|
||||||
|
device_name: "GZ302",
|
||||||
|
product_id: "1a30",
|
||||||
|
layout_name: "ga401q",
|
||||||
|
basic_modes: [Static, Breathe, Pulse],
|
||||||
|
basic_zones: [],
|
||||||
|
advanced_type: r#None,
|
||||||
|
power_zones: [Keyboard],
|
||||||
|
),
|
||||||
(
|
(
|
||||||
device_name: "RC71L",
|
device_name: "RC71L",
|
||||||
product_id: "",
|
product_id: "",
|
||||||
|
|||||||
@@ -106,10 +106,10 @@ impl From<&str> for AuraDeviceType {
|
|||||||
match s.to_lowercase().trim_start_matches("0x") {
|
match s.to_lowercase().trim_start_matches("0x") {
|
||||||
"tuf" => AuraDeviceType::LaptopKeyboardTuf,
|
"tuf" => AuraDeviceType::LaptopKeyboardTuf,
|
||||||
"1932" => AuraDeviceType::ScsiExtDisk,
|
"1932" => AuraDeviceType::ScsiExtDisk,
|
||||||
"1866" | "18c6" | "1869" | "1854" => Self::LaptopKeyboardPre2021,
|
"1866" | "1869" | "1854" => Self::LaptopKeyboardPre2021,
|
||||||
"1abe" | "1b4c" => Self::Ally,
|
"1abe" | "1b4c" => Self::Ally,
|
||||||
"19b3" | "193b" => Self::AnimeOrSlash,
|
"19b3" | "193b" => Self::AnimeOrSlash,
|
||||||
"19b6" => Self::LaptopKeyboard2021,
|
"19b6" | "1a30" | "18c6" => Self::LaptopKeyboard2021,
|
||||||
_ => Self::Unknown,
|
_ => Self::Unknown,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user