From 783d1cd458b68055a6ba6d66a3f0fcd0698158c8 Mon Sep 17 00:00:00 2001 From: zv0n Date: Sat, 2 Jul 2022 15:09:21 +0200 Subject: [keyboard] annepro2 Add support for sticky keys (#17359) --- keyboards/annepro2/protocol.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'keyboards/annepro2/protocol.h') 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. */ -- cgit v1.2.3