diff options
Diffstat (limited to 'users/kuchosauronad0/rgblight_user.h')
| -rw-r--r-- | users/kuchosauronad0/rgblight_user.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/users/kuchosauronad0/rgblight_user.h b/users/kuchosauronad0/rgblight_user.h new file mode 100644 index 000000000..eab15b832 --- /dev/null +++ b/users/kuchosauronad0/rgblight_user.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | #pragma once | ||
| 2 | #include "kuchosauronad0.h" | ||
| 3 | |||
| 4 | typedef struct { | ||
| 5 | bool enabled; | ||
| 6 | uint8_t hue; | ||
| 7 | uint16_t timer; | ||
| 8 | uint8_t life; | ||
| 9 | } rgblight_fadeout; | ||
| 10 | const uint8_t RGBLIGHT_FADE_SPEED[6] PROGMEM; | ||
| 11 | |||
| 12 | layer_state_t layer_state_set_rgb(layer_state_t state); | ||
| 13 | layer_state_t default_layer_state_set_rgb(layer_state_t state); | ||
| 14 | |||
| 15 | bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record); | ||
| 16 | void scan_rgblight_fadeout(void); | ||
| 17 | void keyboard_post_init_rgb(void); | ||
| 18 | void matrix_scan_rgb(void); | ||
| 19 | void rgblight_sethsv_default_helper(uint8_t index); | ||
| 20 | void rgblight_savebase(void); | ||
| 21 | void rgblight_loadbase(void); | ||
| 22 | void rgblight_fade_helper(bool direction); | ||
| 23 | void fadeflash_leds(uint8_t hue, uint8_t sat, uint8_t val); | ||
