diff options
author | zv0n <tom.zvon@gmail.com> | 2022-07-02 15:09:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-02 23:09:21 +1000 |
commit | 783d1cd458b68055a6ba6d66a3f0fcd0698158c8 (patch) | |
tree | 9a0b26b84f3b2dc2543b92c601865a57c18d98b9 /keyboards/annepro2/protocol.h | |
parent | 7e926f5c939fdf5cfa3dd17fec774f61b77b5f07 (diff) |
[keyboard] annepro2 Add support for sticky keys (#17359)
Diffstat (limited to 'keyboards/annepro2/protocol.h')
-rw-r--r-- | keyboards/annepro2/protocol.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/annepro2/protocol.h b/keyboards/annepro2/protocol.h index 41610054e0..d38fd0a66e 100644 --- a/keyboards/annepro2/protocol.h +++ b/keyboards/annepro2/protocol.h @@ -55,6 +55,14 @@ enum { /* Number of profiles, current profile, on/off state, reactive flag, brightness, errors */ CMD_LED_STATUS = 0x41, + + /* Set sticky key, meaning the key will light up even when LEDs are turned off */ + CMD_LED_STICKY_SET_KEY = 0x50, + CMD_LED_STICKY_SET_ROW = 0x51, + CMD_LED_STICKY_SET_MONO = 0x52, + CMD_LED_STICKY_UNSET_KEY = 0x53, + CMD_LED_STICKY_UNSET_ROW = 0x54, + CMD_LED_STICKY_UNSET_ALL = 0x55, }; /* 1 ROW * 14 COLS * 4B (RGBX) = 56 + header prefix. */ |