diff options
Diffstat (limited to 'quantum/rgb_matrix.h')
-rw-r--r-- | quantum/rgb_matrix.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/quantum/rgb_matrix.h b/quantum/rgb_matrix.h index e43532d11..b64ddec07 100644 --- a/quantum/rgb_matrix.h +++ b/quantum/rgb_matrix.h | |||
@@ -50,25 +50,17 @@ typedef struct rgb_led { | |||
50 | 50 | ||
51 | extern const rgb_led g_rgb_leds[DRIVER_LED_TOTAL]; | 51 | extern const rgb_led g_rgb_leds[DRIVER_LED_TOTAL]; |
52 | 52 | ||
53 | typedef struct | ||
54 | { | ||
55 | HSV color; | ||
56 | uint8_t index; | ||
57 | } rgb_indicator; | ||
58 | |||
59 | typedef union { | 53 | typedef union { |
60 | uint32_t raw; | 54 | uint32_t raw; |
61 | struct { | 55 | struct { |
62 | bool enable :1; | 56 | bool enable :1; |
63 | uint8_t mode :6; | 57 | uint8_t mode :6; |
64 | uint16_t hue :9; | ||
65 | uint8_t sat :8; | ||
66 | uint8_t val :8; | 58 | uint8_t val :8; |
67 | uint8_t speed :8;//EECONFIG needs to be increased to support this | 59 | uint8_t speed :8;//EECONFIG needs to be increased to support this |
68 | }; | 60 | }; |
69 | } rgb_config_t; | 61 | } led_config_t; |
70 | 62 | ||
71 | enum rgb_matrix_effects { | 63 | enum _matrix_effects { |
72 | RGB_MATRIX_SOLID_COLOR = 1, | 64 | RGB_MATRIX_SOLID_COLOR = 1, |
73 | #ifndef DISABLE_RGB_MATRIX_ALPHAS_MODS | 65 | #ifndef DISABLE_RGB_MATRIX_ALPHAS_MODS |
74 | RGB_MATRIX_ALPHAS_MODS, | 66 | RGB_MATRIX_ALPHAS_MODS, |