mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Reimplement the 0x1866 keyboard power settings
This commit is contained in:
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Allow X11 GUI. This is *not* supported.
|
- Allow X11 GUI. This is *not* supported.
|
||||||
- Fixes to some GUI widget layouts and sizing
|
- Fixes to some GUI widget layouts and sizing
|
||||||
- Do a backup HID raw write fro brightness if the read-back value does not match. This is a temporary solve for some G14 and G16 until the kernel patch is ready.
|
- Do a backup HID raw write fro brightness if the read-back value does not match. This is a temporary solve for some G14 and G16 until the kernel patch is ready.
|
||||||
- Reimplement the older 0x1866 MCU keyboard control power bits
|
- Reimplement the older 0x1866 MCU keyboard control power bits plus UI control for it
|
||||||
|
|
||||||
## [v6.0.6]
|
## [v6.0.6]
|
||||||
|
|
||||||
|
|||||||
@@ -84,14 +84,24 @@ pub fn setup_aura_page(ui: &MainWindow, _states: Arc<Mutex<Config>>) {
|
|||||||
set_ui_props_async!(handle, aura, AuraPageData, led_power);
|
set_ui_props_async!(handle, aura, AuraPageData, led_power);
|
||||||
set_ui_props_async!(handle, aura, AuraPageData, device_type);
|
set_ui_props_async!(handle, aura, AuraPageData, device_type);
|
||||||
|
|
||||||
if let Ok(power) = aura.supported_power_zones().await {
|
if let Ok(pow3r) = aura.supported_power_zones().await {
|
||||||
log::debug!("Available LED power modes {power:?}");
|
log::debug!("Available LED power modes {pow3r:?}");
|
||||||
let power: Vec<SlintPowerZones> = power.iter().map(|p| (*p).into()).collect();
|
|
||||||
handle
|
handle
|
||||||
.upgrade_in_event_loop(move |handle| {
|
.upgrade_in_event_loop(move |handle| {
|
||||||
|
let power: Vec<SlintPowerZones> = pow3r.iter().map(|p| (*p).into()).collect();
|
||||||
|
let names: Vec<SharedString> = handle
|
||||||
|
.global::<AuraPageData>()
|
||||||
|
.get_power_zone_names()
|
||||||
|
.iter()
|
||||||
|
.collect();
|
||||||
|
let names: Vec<SharedString> =
|
||||||
|
pow3r.iter().map(|n| names[(*n) as usize].clone()).collect();
|
||||||
handle
|
handle
|
||||||
.global::<AuraPageData>()
|
.global::<AuraPageData>()
|
||||||
.set_supported_power_zones(power.as_slice().into());
|
.set_supported_power_zones(power.as_slice().into());
|
||||||
|
handle
|
||||||
|
.global::<AuraPageData>()
|
||||||
|
.set_power_zone_names_old(names.as_slice().into());
|
||||||
})
|
})
|
||||||
.ok();
|
.ok();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2024-05-13 04:18+0000\n"
|
"POT-Creation-Date: 2024-05-13 11:53+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@@ -252,6 +252,11 @@ msgctxt "PageAura"
|
|||||||
msgid "Power Settings"
|
msgid "Power Settings"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: rog-control-center/ui/pages/aura.slint:270
|
||||||
|
msgctxt "PageAura"
|
||||||
|
msgid "Power Zones"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/pages/system.slint:26
|
#: rog-control-center/ui/pages/system.slint:26
|
||||||
msgctxt "SystemPageData"
|
msgctxt "SystemPageData"
|
||||||
msgid "Balanced"
|
msgid "Balanced"
|
||||||
@@ -407,216 +412,236 @@ msgctxt "PageSystem"
|
|||||||
msgid "Throttle Policy on AC"
|
msgid "Throttle Policy on AC"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:45
|
|
||||||
msgctxt "Aura power zone"
|
|
||||||
msgid "Logo"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:46
|
|
||||||
msgctxt "Aura power zone"
|
|
||||||
msgid "Keyboard"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:47
|
|
||||||
msgctxt "Aura power zone"
|
|
||||||
msgid "Lightbar"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:48
|
|
||||||
msgctxt "Aura power zone"
|
|
||||||
msgid "Lid"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:49
|
#: rog-control-center/ui/types/aura_types.slint:49
|
||||||
msgctxt "Aura power zone"
|
msgctxt "Aura power zone"
|
||||||
msgid "Rear Glow"
|
msgid "Logo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:50
|
#: rog-control-center/ui/types/aura_types.slint:50
|
||||||
msgctxt "Aura power zone"
|
msgctxt "Aura power zone"
|
||||||
msgid "Keyboard and Lightbar"
|
msgid "Keyboard"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rog-control-center/ui/types/aura_types.slint:51
|
||||||
|
msgctxt "Aura power zone"
|
||||||
|
msgid "Lightbar"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rog-control-center/ui/types/aura_types.slint:52
|
||||||
|
msgctxt "Aura power zone"
|
||||||
|
msgid "Lid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:53
|
#: rog-control-center/ui/types/aura_types.slint:53
|
||||||
|
msgctxt "Aura power zone"
|
||||||
|
msgid "Rear Glow"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rog-control-center/ui/types/aura_types.slint:54
|
||||||
|
msgctxt "Aura power zone"
|
||||||
|
msgid "Keyboard and Lightbar"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rog-control-center/ui/types/aura_types.slint:57
|
||||||
msgctxt "Aura brightness"
|
msgctxt "Aura brightness"
|
||||||
msgid "Off"
|
msgid "Off"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:54
|
#: rog-control-center/ui/types/aura_types.slint:58
|
||||||
msgctxt "Aura brightness"
|
msgctxt "Aura brightness"
|
||||||
msgid "Low"
|
msgid "Low"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:55
|
#: rog-control-center/ui/types/aura_types.slint:59
|
||||||
msgctxt "Aura brightness"
|
msgctxt "Aura brightness"
|
||||||
msgid "Med"
|
msgid "Med"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:56
|
#: rog-control-center/ui/types/aura_types.slint:60
|
||||||
msgctxt "Aura brightness"
|
msgctxt "Aura brightness"
|
||||||
msgid "High"
|
msgid "High"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:61 rog-control-center/ui/types/aura_types.slint:76
|
#: rog-control-center/ui/types/aura_types.slint:65 rog-control-center/ui/types/aura_types.slint:80
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Static"
|
msgid "Static"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:62 rog-control-center/ui/types/aura_types.slint:77
|
#: rog-control-center/ui/types/aura_types.slint:66 rog-control-center/ui/types/aura_types.slint:81
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Breathe"
|
msgid "Breathe"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:63 rog-control-center/ui/types/aura_types.slint:78
|
#: rog-control-center/ui/types/aura_types.slint:67 rog-control-center/ui/types/aura_types.slint:82
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Strobe"
|
msgid "Strobe"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:64
|
#: rog-control-center/ui/types/aura_types.slint:68
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Rainbow"
|
msgid "Rainbow"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:65
|
#: rog-control-center/ui/types/aura_types.slint:69
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Star"
|
msgid "Star"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:66
|
#: rog-control-center/ui/types/aura_types.slint:70
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Rain"
|
msgid "Rain"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:67
|
#: rog-control-center/ui/types/aura_types.slint:71
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Highlight"
|
msgid "Highlight"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:68
|
#: rog-control-center/ui/types/aura_types.slint:72
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Laser"
|
msgid "Laser"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:69
|
#: rog-control-center/ui/types/aura_types.slint:73
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Ripple"
|
msgid "Ripple"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:70
|
#: rog-control-center/ui/types/aura_types.slint:74
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Nothing"
|
msgid "Nothing"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:71
|
#: rog-control-center/ui/types/aura_types.slint:75
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Pulse"
|
msgid "Pulse"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:72
|
#: rog-control-center/ui/types/aura_types.slint:76
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Comet"
|
msgid "Comet"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:73
|
#: rog-control-center/ui/types/aura_types.slint:77
|
||||||
msgctxt "Basic aura mode"
|
msgctxt "Basic aura mode"
|
||||||
msgid "Flash"
|
msgid "Flash"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:85
|
#: rog-control-center/ui/types/aura_types.slint:89
|
||||||
msgctxt "Aura zone"
|
msgctxt "Aura zone"
|
||||||
msgid "None"
|
msgid "None"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:86
|
#: rog-control-center/ui/types/aura_types.slint:90
|
||||||
msgctxt "Aura zone"
|
msgctxt "Aura zone"
|
||||||
msgid "Key1"
|
msgid "Key1"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:87
|
#: rog-control-center/ui/types/aura_types.slint:91
|
||||||
msgctxt "Aura zone"
|
msgctxt "Aura zone"
|
||||||
msgid "Key2"
|
msgid "Key2"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:88
|
#: rog-control-center/ui/types/aura_types.slint:92
|
||||||
msgctxt "Aura zone"
|
msgctxt "Aura zone"
|
||||||
msgid "Key3"
|
msgid "Key3"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:89
|
#: rog-control-center/ui/types/aura_types.slint:93
|
||||||
msgctxt "Aura zone"
|
msgctxt "Aura zone"
|
||||||
msgid "Key4"
|
msgid "Key4"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:90
|
#: rog-control-center/ui/types/aura_types.slint:94
|
||||||
msgctxt "Aura zone"
|
msgctxt "Aura zone"
|
||||||
msgid "Logo"
|
msgid "Logo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:91
|
#: rog-control-center/ui/types/aura_types.slint:95
|
||||||
msgctxt "Aura zone"
|
msgctxt "Aura zone"
|
||||||
msgid "Lightbar Left"
|
msgid "Lightbar Left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:92
|
#: rog-control-center/ui/types/aura_types.slint:96
|
||||||
msgctxt "Aura zone"
|
msgctxt "Aura zone"
|
||||||
msgid "Lightbar Right"
|
msgid "Lightbar Right"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:96
|
#: rog-control-center/ui/types/aura_types.slint:100
|
||||||
msgctxt "Aura direction"
|
msgctxt "Aura direction"
|
||||||
msgid "Right"
|
msgid "Right"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:97
|
#: rog-control-center/ui/types/aura_types.slint:101
|
||||||
msgctxt "Aura direction"
|
msgctxt "Aura direction"
|
||||||
msgid "Left"
|
msgid "Left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:98
|
#: rog-control-center/ui/types/aura_types.slint:102
|
||||||
msgctxt "Aura direction"
|
msgctxt "Aura direction"
|
||||||
msgid "Up"
|
msgid "Up"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:99
|
#: rog-control-center/ui/types/aura_types.slint:103
|
||||||
msgctxt "Aura direction"
|
msgctxt "Aura direction"
|
||||||
msgid "Down"
|
msgid "Down"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:103
|
#: rog-control-center/ui/types/aura_types.slint:107
|
||||||
msgctxt "Aura speed"
|
msgctxt "Aura speed"
|
||||||
msgid "Low"
|
msgid "Low"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:104
|
#: rog-control-center/ui/types/aura_types.slint:108
|
||||||
msgctxt "Aura speed"
|
msgctxt "Aura speed"
|
||||||
msgid "Medium"
|
msgid "Medium"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/types/aura_types.slint:105
|
#: rog-control-center/ui/types/aura_types.slint:109
|
||||||
msgctxt "Aura speed"
|
msgctxt "Aura speed"
|
||||||
msgid "High"
|
msgid "High"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/widgets/aura_power.slint:32
|
#: rog-control-center/ui/widgets/aura_power.slint:33
|
||||||
msgctxt "AuraPowerGroup"
|
msgctxt "AuraPowerGroup"
|
||||||
msgid "Boot"
|
msgid "Boot"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/widgets/aura_power.slint:42
|
#: rog-control-center/ui/widgets/aura_power.slint:43
|
||||||
msgctxt "AuraPowerGroup"
|
msgctxt "AuraPowerGroup"
|
||||||
msgid "Awake"
|
msgid "Awake"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/widgets/aura_power.slint:52
|
#: rog-control-center/ui/widgets/aura_power.slint:53
|
||||||
msgctxt "AuraPowerGroup"
|
msgctxt "AuraPowerGroup"
|
||||||
msgid "Sleep"
|
msgid "Sleep"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/widgets/aura_power.slint:62
|
#: rog-control-center/ui/widgets/aura_power.slint:63
|
||||||
msgctxt "AuraPowerGroup"
|
msgctxt "AuraPowerGroup"
|
||||||
msgid "Shutdown"
|
msgid "Shutdown"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: rog-control-center/ui/widgets/aura_power.slint:102
|
||||||
|
msgctxt "AuraPowerGroupOld"
|
||||||
|
msgid "Zone Selection"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rog-control-center/ui/widgets/aura_power.slint:114
|
||||||
|
msgctxt "AuraPowerGroupOld"
|
||||||
|
msgid "Boot"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rog-control-center/ui/widgets/aura_power.slint:124
|
||||||
|
msgctxt "AuraPowerGroupOld"
|
||||||
|
msgid "Awake"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rog-control-center/ui/widgets/aura_power.slint:134
|
||||||
|
msgctxt "AuraPowerGroupOld"
|
||||||
|
msgid "Sleep"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: rog-control-center/ui/main_window.slint:50
|
#: rog-control-center/ui/main_window.slint:50
|
||||||
msgctxt "MainWindow"
|
msgctxt "MainWindow"
|
||||||
msgid "ROG"
|
msgid "ROG"
|
||||||
|
|||||||
@@ -268,7 +268,7 @@ export component PageAura inherits Rectangle {
|
|||||||
|
|
||||||
for state[idx] in AuraPageData.led_power.states: old_zone := AuraPowerGroupOld {
|
for state[idx] in AuraPageData.led_power.states: old_zone := AuraPowerGroupOld {
|
||||||
group-title: @tr("Power Zones");
|
group-title: @tr("Power Zones");
|
||||||
zone_strings <=> AuraPageData.power_zone_names;
|
zone_strings <=> AuraPageData.power_zone_names_old;
|
||||||
selected_zone => {
|
selected_zone => {
|
||||||
AuraPageData.led_power.states[idx].zone = AuraPageData.supported_power_zones[old_zone.current_zone];
|
AuraPageData.led_power.states[idx].zone = AuraPageData.supported_power_zones[old_zone.current_zone];
|
||||||
AuraPageData.set_led_power(AuraPageData.led_power);
|
AuraPageData.set_led_power(AuraPageData.led_power);
|
||||||
|
|||||||
@@ -53,6 +53,13 @@ export global AuraPageData {
|
|||||||
@tr("Aura power zone" => "Rear Glow"),
|
@tr("Aura power zone" => "Rear Glow"),
|
||||||
@tr("Aura power zone" => "Keyboard and Lightbar"),
|
@tr("Aura power zone" => "Keyboard and Lightbar"),
|
||||||
];
|
];
|
||||||
|
// Exists only for the older 0x1866 keybaords. On page setup it must
|
||||||
|
// be set to match the supported_power_zones
|
||||||
|
in-out property <[string]> power_zone_names_old: [
|
||||||
|
@tr("Aura power zone" => "Keyboard"),
|
||||||
|
@tr("Aura power zone" => "Lightbar"),
|
||||||
|
@tr("Aura power zone" => "Keyboard and Lightbar"),
|
||||||
|
];
|
||||||
in-out property <[string]> brightness_names: [
|
in-out property <[string]> brightness_names: [
|
||||||
@tr("Aura brightness" => "Off"),
|
@tr("Aura brightness" => "Off"),
|
||||||
@tr("Aura brightness" => "Low"),
|
@tr("Aura brightness" => "Low"),
|
||||||
@@ -138,14 +145,11 @@ export global AuraPageData {
|
|||||||
}
|
}
|
||||||
callback set_hex_from_colour(color) -> string;
|
callback set_hex_from_colour(color) -> string;
|
||||||
callback set_hex_to_colour(string) -> color;
|
callback set_hex_to_colour(string) -> color;
|
||||||
in-out property <AuraDevType> device_type: AuraDevType.New;
|
in-out property <AuraDevType> device_type: AuraDevType.Old;
|
||||||
// List of indexes to power_zone_names. Must correspond to rog-aura crate
|
// List of indexes to power_zone_names. Must correspond to rog-aura crate
|
||||||
in-out property <[PowerZones]> supported_power_zones: [
|
in-out property <[PowerZones]> supported_power_zones: [
|
||||||
PowerZones.Keyboard,
|
PowerZones.Keyboard,
|
||||||
PowerZones.RearGlow,
|
|
||||||
PowerZones.Lid,
|
|
||||||
PowerZones.Lightbar,
|
PowerZones.Lightbar,
|
||||||
PowerZones.Logo,
|
|
||||||
PowerZones.KeyboardAndLightbar,
|
PowerZones.KeyboardAndLightbar,
|
||||||
];
|
];
|
||||||
in-out property <LaptopAuraPower> led_power: {
|
in-out property <LaptopAuraPower> led_power: {
|
||||||
|
|||||||
Reference in New Issue
Block a user