diff options
Diffstat (limited to 'users/drashna/rgb_stuff.h')
| -rw-r--r-- | users/drashna/rgb_stuff.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/drashna/rgb_stuff.h b/users/drashna/rgb_stuff.h index 3db068a31..065bda9f9 100644 --- a/users/drashna/rgb_stuff.h +++ b/users/drashna/rgb_stuff.h | |||
| @@ -1,4 +1,8 @@ | |||
| 1 | #pragma once | ||
| 1 | #include "quantum.h" | 2 | #include "quantum.h" |
| 3 | #ifdef RGB_MATRIX_ENABLE | ||
| 4 | #include "rgb_matrix.h" | ||
| 5 | #endif | ||
| 2 | 6 | ||
| 3 | typedef struct { | 7 | typedef struct { |
| 4 | bool enabled; | 8 | bool enabled; |
| @@ -13,3 +17,5 @@ void matrix_init_rgb(void); | |||
| 13 | void matrix_scan_rgb(void); | 17 | void matrix_scan_rgb(void); |
| 14 | uint32_t layer_state_set_rgb(uint32_t state); | 18 | uint32_t layer_state_set_rgb(uint32_t state); |
| 15 | uint32_t default_layer_state_set_rgb(uint32_t state); | 19 | uint32_t default_layer_state_set_rgb(uint32_t state); |
| 20 | void rgblight_sethsv_default_helper(uint8_t index); | ||
| 21 | void rgb_matrix_set_color_all( uint8_t red, uint8_t green, uint8_t blue ); | ||
