aboutsummaryrefslogtreecommitdiff
path: root/users/drashna/rgb_stuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/rgb_stuff.h')
-rw-r--r--users/drashna/rgb_stuff.h22
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
7typedef struct { 7typedef 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
14bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record); 14bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record);
15void scan_rgblight_fadeout(void); 15void scan_rgblight_fadeout(void);
16void keyboard_post_init_rgb(void); 16void keyboard_post_init_rgb(void);
17void matrix_scan_rgb(void); 17void matrix_scan_rgb(void);
18layer_state_t layer_state_set_rgb(layer_state_t state); 18layer_state_t layer_state_set_rgb(layer_state_t state);
19layer_state_t default_layer_state_set_rgb(layer_state_t state); 19layer_state_t default_layer_state_set_rgb(layer_state_t state);
20void rgblight_sethsv_default_helper(uint8_t index); 20void rgblight_sethsv_default_helper(uint8_t index);
21void rgb_matrix_set_color_all( uint8_t red, uint8_t green, uint8_t blue ); 21void rgb_matrix_set_color_all(uint8_t red, uint8_t green, uint8_t blue);
22 22
23void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue, uint8_t led_type); 23void rgb_matrix_layer_helper(uint8_t hue, uint8_t sat, uint8_t val, uint8_t mode, uint8_t speed, uint8_t led_type);