diff options
Diffstat (limited to 'users/drashna/rgb_stuff.h')
| -rw-r--r-- | users/drashna/rgb_stuff.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/users/drashna/rgb_stuff.h b/users/drashna/rgb_stuff.h index f5bbd0f3b..ce45d6a00 100644 --- a/users/drashna/rgb_stuff.h +++ b/users/drashna/rgb_stuff.h | |||
| @@ -1,23 +1,23 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | #include "quantum.h" | 2 | #include "quantum.h" |
| 3 | #ifdef RGB_MATRIX_ENABLE | 3 | #ifdef RGB_MATRIX_ENABLE |
| 4 | #include "rgb_matrix.h" | 4 | # include "rgb_matrix.h" |
| 5 | #endif | 5 | #endif |
| 6 | 6 | ||
| 7 | typedef struct { | 7 | typedef struct { |
| 8 | bool enabled; | 8 | bool enabled; |
| 9 | uint8_t hue; | 9 | uint8_t hue; |
| 10 | uint16_t timer; | 10 | uint16_t timer; |
| 11 | uint8_t life; | 11 | uint8_t life; |
| 12 | } rgblight_fadeout; | 12 | } rgblight_fadeout; |
| 13 | 13 | ||
| 14 | bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record); | 14 | bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record); |
| 15 | void scan_rgblight_fadeout(void); | 15 | void scan_rgblight_fadeout(void); |
| 16 | void keyboard_post_init_rgb(void); | 16 | void keyboard_post_init_rgb(void); |
| 17 | void matrix_scan_rgb(void); | 17 | void matrix_scan_rgb(void); |
| 18 | layer_state_t layer_state_set_rgb(layer_state_t state); | 18 | layer_state_t layer_state_set_rgb(layer_state_t state); |
| 19 | layer_state_t default_layer_state_set_rgb(layer_state_t state); | 19 | layer_state_t default_layer_state_set_rgb(layer_state_t state); |
| 20 | void rgblight_sethsv_default_helper(uint8_t index); | 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 ); | 21 | void rgb_matrix_set_color_all(uint8_t red, uint8_t green, uint8_t blue); |
| 22 | 22 | ||
| 23 | void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue, uint8_t led_type); | 23 | void rgb_matrix_layer_helper(uint8_t hue, uint8_t sat, uint8_t val, uint8_t mode, uint8_t speed, uint8_t led_type); |
