mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Aura tweaks for 2024 models
This commit is contained in:
@@ -495,6 +495,11 @@ public static class AppConfig
|
|||||||
return ContainsModel("G814") || ContainsModel("G614") || ContainsModel("G834") || ContainsModel("G634");
|
return ContainsModel("G814") || ContainsModel("G614") || ContainsModel("G834") || ContainsModel("G634");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static bool IsNewAura()
|
||||||
|
{
|
||||||
|
return ContainsModel("G834") || ContainsModel("G614") || ContainsModel("G834") || ContainsModel("G634");
|
||||||
|
}
|
||||||
|
|
||||||
public static bool IsASUS()
|
public static bool IsASUS()
|
||||||
{
|
{
|
||||||
return ContainsModel("ROG") || ContainsModel("TUF") || ContainsModel("Vivobook") || ContainsModel("Zenbook");
|
return ContainsModel("ROG") || ContainsModel("TUF") || ContainsModel("Vivobook") || ContainsModel("Zenbook");
|
||||||
|
|||||||
@@ -264,27 +264,26 @@ namespace GHelper.USB
|
|||||||
new byte[] { AsusHid.AURA_ID, 0xB9 },
|
new byte[] { AsusHid.AURA_ID, 0xB9 },
|
||||||
Encoding.ASCII.GetBytes("]ASUS Tech.Inc."),
|
Encoding.ASCII.GetBytes("]ASUS Tech.Inc."),
|
||||||
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x1A },
|
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x1A },
|
||||||
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x10 },
|
|
||||||
|
|
||||||
Encoding.ASCII.GetBytes("]ASUS Tech.Inc."),
|
|
||||||
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x20 },
|
|
||||||
|
|
||||||
// Random data AC sends to keyboard on start, seem to wake up keyboard on Strix 2024
|
|
||||||
/*
|
|
||||||
new byte[] { AsusHid.AURA_ID, 0x9F, 0x01 },
|
|
||||||
new byte[] { AsusHid.AURA_ID, 0xBF },
|
|
||||||
|
|
||||||
|
|
||||||
new byte[] { AsusHid.AURA_ID, 0xC0, 0x03, 0x01},
|
|
||||||
new byte[] { AsusHid.AURA_ID, 0x9E, 0x01, 0x20 },
|
|
||||||
|
|
||||||
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x1A },
|
|
||||||
new byte[] { AsusHid.AURA_ID, 0xC0, 0x00, 0x01},
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
}, "Init");
|
}, "Init");
|
||||||
|
|
||||||
|
// Random data AC sends to keyboard on start, that seem to wake up keyboard on 2024
|
||||||
|
if (AppConfig.IsNewAura())
|
||||||
|
{
|
||||||
|
AsusHid.Write(new List<byte[]> {
|
||||||
|
new byte[] { AsusHid.AURA_ID, 0x9F, 0x01 },
|
||||||
|
new byte[] { AsusHid.AURA_ID, 0xBF },
|
||||||
|
|
||||||
|
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x10 },
|
||||||
|
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x20 },
|
||||||
|
|
||||||
|
new byte[] { AsusHid.AURA_ID, 0xC0, 0x03, 0x01 },
|
||||||
|
new byte[] { AsusHid.AURA_ID, 0x9E, 0x01, 0x20 },
|
||||||
|
|
||||||
|
Encoding.ASCII.GetBytes("]ASUS Tech.Inc."),
|
||||||
|
new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x1A },
|
||||||
|
new byte[] { AsusHid.AURA_ID, 0xC0, 0x00, 0x01 },
|
||||||
|
}, "Init");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user