[keyboard] annepro2 Add and use functions to directly control led colors (#17196)

This commit is contained in:
zv0n 2022-06-10 05:25:48 +02:00 committed by GitHub
commit 9da1b86d71
Failed to generate hash of commit
5 changed files with 52 additions and 5 deletions

View file

@ -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,