diff options
| author | Drashna Jaelre <drashna@live.com> | 2018-12-04 13:27:41 -0800 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-12-04 13:27:41 -0800 |
| commit | 6d0dc910d92bc381d3cce9ea712aa47ae40ddf15 (patch) | |
| tree | a1490c040ca730cdf43fb7f52422391998590597 /users/drashna/rgb_stuff.h | |
| parent | 106de349fb6410d0deb706ecb68ae1e78a4ef2db (diff) | |
| download | qmk_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.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 ); | ||
