aboutsummaryrefslogtreecommitdiffstats
path: root/users/drashna/rgb_stuff.h
diff options
context:
space:
mode:
authorGravatar Drashna Jaelre <drashna@live.com>2018-12-04 13:27:41 -0800
committerGravatar MechMerlin <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
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 @@
+#pragma once
#include "quantum.h"
+#ifdef RGB_MATRIX_ENABLE
+ #include "rgb_matrix.h"
+#endif
typedef struct {
bool enabled;
@@ -13,3 +17,5 @@ void matrix_init_rgb(void);
void matrix_scan_rgb(void);
uint32_t layer_state_set_rgb(uint32_t state);
uint32_t default_layer_state_set_rgb(uint32_t state);
+void rgblight_sethsv_default_helper(uint8_t index);
+void rgb_matrix_set_color_all( uint8_t red, uint8_t green, uint8_t blue );