summaryrefslogtreecommitdiff
path: root/keyboards/annepro2/protocol.h
diff options
context:
space:
mode:
authorzv0n <tom.zvon@gmail.com>2022-06-10 05:25:48 +0200
committerGitHub <noreply@github.com>2022-06-10 13:25:48 +1000
commit9da1b86d71204ff0a1867730faf97cc88da28baf (patch)
tree7e86ac6e9d7e5dbc3ed4948155af1f67ca0d9f8c /keyboards/annepro2/protocol.h
parent9316023290148f6d0a736aedbda2ec66f04e9523 (diff)
[keyboard] annepro2 Add and use functions to directly control led colors (#17196)
Diffstat (limited to 'keyboards/annepro2/protocol.h')
-rw-r--r--keyboards/annepro2/protocol.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/annepro2/protocol.h b/keyboards/annepro2/protocol.h
index 208fcd806c..41610054e0 100644
--- a/keyboards/annepro2/protocol.h
+++ b/keyboards/annepro2/protocol.h
@@ -42,6 +42,12 @@ enum {
CMD_LED_KEY_UP = 0x23, /* TODO */
CMD_LED_IAP = 0x24,
+ /* Manual color control */
+ CMD_LED_SET_MANUAL = 0x30,
+ CMD_LED_COLOR_SET_KEY = 0x31,
+ CMD_LED_COLOR_SET_ROW = 0x32,
+ CMD_LED_COLOR_SET_MONO = 0x33,
+
/* LED -> Main */
/* Payload with data to send over HID */
CMD_LED_DEBUG = 0x40,