aboutsummaryrefslogtreecommitdiff
path: root/users/drashna/rgb_stuff.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-12-04 13:27:41 -0800
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-12-04 13:27:41 -0800
commit6d0dc910d92bc381d3cce9ea712aa47ae40ddf15 (patch)
treea1490c040ca730cdf43fb7f52422391998590597 /users/drashna/rgb_stuff.h
parent106de349fb6410d0deb706ecb68ae1e78a4ef2db (diff)
downloadqmk_firmware-6d0dc910d92bc381d3cce9ea712aa47ae40ddf15.tar.gz
qmk_firmware-6d0dc910d92bc381d3cce9ea712aa47ae40ddf15.zip
Rework drashna userspace to be more modular (#4544)
* Break up files to make more readable * Add comments to ortho 4x12 layout rules.mk * Small tweaks * Update GitLab CI scripts * Make ortho boards smaller
Diffstat (limited to 'users/drashna/rgb_stuff.h')
-rw-r--r--users/drashna/rgb_stuff.h6
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
3typedef struct { 7typedef struct {
4 bool enabled; 8 bool enabled;
@@ -13,3 +17,5 @@ void matrix_init_rgb(void);
13void matrix_scan_rgb(void); 17void matrix_scan_rgb(void);
14uint32_t layer_state_set_rgb(uint32_t state); 18uint32_t layer_state_set_rgb(uint32_t state);
15uint32_t default_layer_state_set_rgb(uint32_t state); 19uint32_t default_layer_state_set_rgb(uint32_t state);
20void rgblight_sethsv_default_helper(uint8_t index);
21void rgb_matrix_set_color_all( uint8_t red, uint8_t green, uint8_t blue );