summaryrefslogtreecommitdiff
path: root/users/drashna/rgb_stuff.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-05-19 10:01:16 -0700
committerGitHub <noreply@github.com>2019-05-19 10:01:16 -0700
commit6b8be985551efc5a5f95dfea6dc1554352bc46e0 (patch)
treecb0db9437ef27eef7c07a26f985a615d17a4d794 /users/drashna/rgb_stuff.h
parent2a8fd5823244eb1c7e8906b4118f01d2078c4e28 (diff)
parent89e9785d7a87e8dbb941dd272c032f34658169fd (diff)
[Keymap] Drashna Corne Keyboard updates (#5903)
* Re-enable Audio And there was much rejoicingmake keebio/iris/rev2:drashna AUDIO_ENABLE=yes! * Re-add debounce to ergodox EZ * Fix rgb matrix helper function * Make sure that RGM Matrix is checked properly * Fix merge commit? * Disable more RGB matrix modes * Increase Debounce for Ergodox EZ The performance improvements have made it necessary, actually * Consolidate RGB Matrix layer indication function And changes to iris * Fix lighting issue for gamepad * Update Corne Keyboard configuration * Update Corne Keyboard layout * Update KC_MAKE macro to better handle crkbd split * Tweaks to Corne Keyboard Layout * Enable RGB Matrix Sleep * Update my code to use layer_state_t typedef
Diffstat (limited to 'users/drashna/rgb_stuff.h')
-rw-r--r--users/drashna/rgb_stuff.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/users/drashna/rgb_stuff.h b/users/drashna/rgb_stuff.h
index 886f20ffcc..f5bbd0f3b5 100644
--- a/users/drashna/rgb_stuff.h
+++ b/users/drashna/rgb_stuff.h
@@ -15,7 +15,9 @@ bool process_record_user_rgb(uint16_t keycode, keyrecord_t *record);
void scan_rgblight_fadeout(void);
void keyboard_post_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);
+layer_state_t layer_state_set_rgb(layer_state_t state);
+layer_state_t default_layer_state_set_rgb(layer_state_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 );
+
+void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue, uint8_t led_type);