aboutsummaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco/nibble/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nullbitsco/nibble/keymaps/default/keymap.c')
-rw-r--r--keyboards/nullbitsco/nibble/keymaps/default/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/nullbitsco/nibble/keymaps/default/keymap.c b/keyboards/nullbitsco/nibble/keymaps/default/keymap.c
index 787e8bd8f..beac1c55a 100644
--- a/keyboards/nullbitsco/nibble/keymaps/default/keymap.c
+++ b/keyboards/nullbitsco/nibble/keymaps/default/keymap.c
@@ -105,7 +105,7 @@ void change_RGB(bool clockwise) {
105 } 105 }
106} 106}
107 107
108void encoder_update_user(uint8_t index, bool clockwise) { 108bool encoder_update_user(uint8_t index, bool clockwise) {
109 if (layer_state_is(1)) { 109 if (layer_state_is(1)) {
110 //change RGB settings 110 //change RGB settings
111 change_RGB(clockwise); 111 change_RGB(clockwise);
@@ -117,6 +117,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
117 tap_code(KC_VOLD); 117 tap_code(KC_VOLD);
118 } 118 }
119 } 119 }
120 return true;
120} 121}
121 122
122void matrix_init_user(void) { 123void matrix_init_user(void) {