diff options
author | Drashna Jaelre <drashna@live.com> | 2020-08-05 13:29:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 13:29:04 -0700 |
commit | 4c14b11fc79e51521b6e53453862252b806a5c02 (patch) | |
tree | 113a2970b51d2b58ff7435e36161dcb354d5b835 /quantum | |
parent | 3df52050c12cd5e6286664672efc6f43849d935d (diff) | |
download | qmk_firmware-4c14b11fc79e51521b6e53453862252b806a5c02.tar.gz qmk_firmware-4c14b11fc79e51521b6e53453862252b806a5c02.zip |
Add Indicator flag for RGB Matrix (#9933)
* Add Indicator flag for RGB Matrix
This adds a new flag for the RGB Matrix feature that lets you specify if the LED is an indicator LED, to be used to indicate the system state of the keyboard (eg caps/num/etc lock status, layer indication, modifer status, etc).
* Better formatting of table
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/rgb_matrix_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/rgb_matrix_types.h b/quantum/rgb_matrix_types.h index f447ac9c56..f7ebec1d5d 100644 --- a/quantum/rgb_matrix_types.h +++ b/quantum/rgb_matrix_types.h @@ -56,6 +56,7 @@ typedef struct PACKED { #define LED_FLAG_MODIFIER 0x01 #define LED_FLAG_UNDERGLOW 0x02 #define LED_FLAG_KEYLIGHT 0x04 +#define LED_FLAG_INDICATOR 0x08 #define NO_LED 255 |