diff options
author | Drashna Jaelre <[email protected]> | 2022-10-04 15:24:22 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-04 15:24:22 -0700 |
commit | 64b1ed45507a15d5594b1f90b936c2096918f5a4 (patch) | |
tree | 8824b1d4f55797d7608d3111a2755e919040e834 /keyboards/mss_studio/m64_rgb | |
parent | 09d3e2771099ff1ca7e7bd8882644eb2b2807763 (diff) | |
download | qmk_firmware-64b1ed45507a15d5594b1f90b936c2096918f5a4.tar.gz qmk_firmware-64b1ed45507a15d5594b1f90b936c2096918f5a4.zip |
Fix Per Key LED Indicator Callbacks (#18450)
Co-authored-by: Dasky <[email protected]>
Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'keyboards/mss_studio/m64_rgb')
-rw-r--r-- | keyboards/mss_studio/m64_rgb/keymaps/default/keymap.c | 3 | ||||
-rw-r--r-- | keyboards/mss_studio/m64_rgb/keymaps/via/keymap.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/mss_studio/m64_rgb/keymaps/default/keymap.c b/keyboards/mss_studio/m64_rgb/keymaps/default/keymap.c index da5c7c40c3..7e66cc4f32 100644 --- a/keyboards/mss_studio/m64_rgb/keymaps/default/keymap.c +++ b/keyboards/mss_studio/m64_rgb/keymaps/default/keymap.c @@ -164,7 +164,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; } -void rgb_matrix_indicators_user(void) { +bool rgb_matrix_indicators_user(void) { HSV hsv = rgb_matrix_config.hsv; uint8_t time = scale16by8(g_rgb_timer, qadd8(32, 1)); hsv.h = time; @@ -181,4 +181,5 @@ void rgb_matrix_indicators_user(void) { rgb_matrix_set_color(28, 0, 0, 0); } } + return false; } diff --git a/keyboards/mss_studio/m64_rgb/keymaps/via/keymap.c b/keyboards/mss_studio/m64_rgb/keymaps/via/keymap.c index da5c7c40c3..7e66cc4f32 100644 --- a/keyboards/mss_studio/m64_rgb/keymaps/via/keymap.c +++ b/keyboards/mss_studio/m64_rgb/keymaps/via/keymap.c @@ -164,7 +164,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; } -void rgb_matrix_indicators_user(void) { +bool rgb_matrix_indicators_user(void) { HSV hsv = rgb_matrix_config.hsv; uint8_t time = scale16by8(g_rgb_timer, qadd8(32, 1)); hsv.h = time; @@ -181,4 +181,5 @@ void rgb_matrix_indicators_user(void) { rgb_matrix_set_color(28, 0, 0, 0); } } + return false; } |