Add Ally 1 and X as "old" style devices for power

These have a slightly different power settings data which needs to be verified.
We can use the old style for now.

Closes #542
This commit is contained in:
Luke D. Jones
2024-08-27 11:46:09 +12:00
parent c3880d055d
commit 8f35220c5f
16 changed files with 1006 additions and 785 deletions

View File

@@ -4,6 +4,7 @@ export enum AuraDevType {
Tuf,
ScsiExtDisk,
Unknown,
Ally,
}
export struct AuraEffect {
@@ -28,6 +29,7 @@ export enum PowerZones {
Lid,
RearGlow,
KeyboardAndLightbar,
Ally,
}
export struct AuraPowerState {
@@ -52,6 +54,7 @@ export global AuraPageData {
@tr("Aura power zone" => "Lid"),
@tr("Aura power zone" => "Rear Glow"),
@tr("Aura power zone" => "Keyboard and Lightbar"),
@tr("Aura power zone" => "Ally"),
];
// Exists only for the older 0x1866 keybaords. On page setup it must
// be set to match the supported_power_zones