summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q2/rev_0113
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/q2/rev_0113')
-rw-r--r--keyboards/keychron/q2/rev_0113/keymaps/dhertz/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/keychron/q2/rev_0113/keymaps/dhertz/keymap.c b/keyboards/keychron/q2/rev_0113/keymaps/dhertz/keymap.c
index 16c2a6d784..4a80b8ac36 100644
--- a/keyboards/keychron/q2/rev_0113/keymaps/dhertz/keymap.c
+++ b/keyboards/keychron/q2/rev_0113/keymaps/dhertz/keymap.c
@@ -67,7 +67,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
} else {
tap_code_delay(KC_VOLD, 10);
}
- } else {
+ } else {
if ((get_mods() & MOD_BIT(KC_LCMD)) != MOD_BIT(KC_LCMD)) {
register_code(KC_LCMD);
defer_exec(20, cancel_cmd, NULL);
@@ -81,7 +81,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
return false;
}
-void rgb_matrix_indicators_kb(void) {
+bool rgb_matrix_indicators_user(void) {
switch(get_highest_layer(layer_state|default_layer_state)) {
case 1:
rgb_matrix_set_color_all(RGB_BLACK);
@@ -91,4 +91,5 @@ void rgb_matrix_indicators_kb(void) {
rgb_matrix_set_color_all(RGB_BLACK);
break;
}
+ return false;
}