diff options
Diffstat (limited to 'keyboards/nullbitsco/nibble/keymaps/via/keymap.c')
-rw-r--r-- | keyboards/nullbitsco/nibble/keymaps/via/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/nullbitsco/nibble/keymaps/via/keymap.c b/keyboards/nullbitsco/nibble/keymaps/via/keymap.c index 5b2f3b4f2..67a53f241 100644 --- a/keyboards/nullbitsco/nibble/keymaps/via/keymap.c +++ b/keyboards/nullbitsco/nibble/keymaps/via/keymap.c | |||
@@ -148,13 +148,14 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
148 | return true; | 148 | return true; |
149 | } | 149 | } |
150 | 150 | ||
151 | void encoder_update_user(uint8_t index, bool clockwise) { | 151 | bool encoder_update_user(uint8_t index, bool clockwise) { |
152 | // Encoder is mapped to volume functions by default | 152 | // Encoder is mapped to volume functions by default |
153 | if (clockwise) { | 153 | if (clockwise) { |
154 | tap_code(KC_VOLU); | 154 | tap_code(KC_VOLU); |
155 | } else { | 155 | } else { |
156 | tap_code(KC_VOLD); | 156 | tap_code(KC_VOLD); |
157 | } | 157 | } |
158 | return true; | ||
158 | } | 159 | } |
159 | 160 | ||
160 | void matrix_init_user(void) { | 161 | void matrix_init_user(void) { |