mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Aura cleanup
This commit is contained in:
@@ -591,11 +591,6 @@ 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 IsNoFNV()
|
public static bool IsNoFNV()
|
||||||
{
|
{
|
||||||
return ContainsModel("FX507") || ContainsModel("FX707");
|
return ContainsModel("FX507") || ContainsModel("FX707");
|
||||||
|
|||||||
@@ -268,25 +268,6 @@ namespace GHelper.USB
|
|||||||
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 },
|
||||||
}, "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