mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Lightbar toggle for old devices https://github.com/seerge/g-helper/issues/1929
This commit is contained in:
@@ -318,6 +318,7 @@ namespace GHelper.USB
|
||||
if (flags.ShutdownLogo) keyb |= 1 << 6;
|
||||
if (flags.ShutdownKeyb) keyb |= 1 << 7;
|
||||
|
||||
if (flags.AwakeBar) bar |= 1 << 0;
|
||||
if (flags.BootBar) bar |= 1 << 1;
|
||||
if (flags.AwakeBar) bar |= 1 << 2;
|
||||
if (flags.SleepBar) bar |= 1 << 3;
|
||||
@@ -664,6 +665,8 @@ namespace GHelper.USB
|
||||
|
||||
int _speed = (Speed == AuraSpeed.Normal) ? 0xeb : (Speed == AuraSpeed.Fast) ? 0xf5 : 0xe1;
|
||||
|
||||
//AsusHid.Write(new byte[] { AsusHid.AURA_ID, 0xBD, 0x01, 0xFF, 0x1F, 0xFF, 0x0F });
|
||||
|
||||
AsusHid.Write(new List<byte[]> { AuraMessage(Mode, _Color1, _Color2, _speed, isSingleColor), MESSAGE_SET, MESSAGE_APPLY });
|
||||
//AsusHid.Write(new List<byte[]> { AuraMessage(Mode, _Color1, _Color2, _speed, isSingleColor, 0x0A), MESSAGE_SET, MESSAGE_APPLY });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user