diff options
Diffstat (limited to 'quantum/rgb_matrix.h')
| -rw-r--r-- | quantum/rgb_matrix.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/quantum/rgb_matrix.h b/quantum/rgb_matrix.h index 775cbeac0..33665ffff 100644 --- a/quantum/rgb_matrix.h +++ b/quantum/rgb_matrix.h | |||
| @@ -54,7 +54,9 @@ | |||
| 54 | uint8_t max = DRIVER_LED_TOTAL; | 54 | uint8_t max = DRIVER_LED_TOTAL; |
| 55 | #endif | 55 | #endif |
| 56 | 56 | ||
| 57 | extern const rgb_led g_rgb_leds[DRIVER_LED_TOTAL]; | 57 | #define RGB_MATRIX_TEST_LED_FLAGS() if (!HAS_ANY_FLAGS(g_rgb_leds[i].flags, params->flags)) continue |
| 58 | |||
| 59 | extern rgb_led g_rgb_leds[DRIVER_LED_TOTAL]; | ||
| 58 | 60 | ||
| 59 | typedef struct | 61 | typedef struct |
| 60 | { | 62 | { |
| @@ -209,6 +211,8 @@ void rgb_matrix_increase_val(void); | |||
| 209 | void rgb_matrix_decrease_val(void); | 211 | void rgb_matrix_decrease_val(void); |
| 210 | void rgb_matrix_increase_speed(void); | 212 | void rgb_matrix_increase_speed(void); |
| 211 | void rgb_matrix_decrease_speed(void); | 213 | void rgb_matrix_decrease_speed(void); |
| 214 | led_flags_t rgb_matrix_get_flags(void); | ||
| 215 | void rgb_matrix_set_flags(led_flags_t flags); | ||
| 212 | void rgb_matrix_mode(uint8_t mode); | 216 | void rgb_matrix_mode(uint8_t mode); |
| 213 | void rgb_matrix_mode_noeeprom(uint8_t mode); | 217 | void rgb_matrix_mode_noeeprom(uint8_t mode); |
| 214 | uint8_t rgb_matrix_get_mode(void); | 218 | uint8_t rgb_matrix_get_mode(void); |
