diff options
Diffstat (limited to 'keyboards/handwired/d48/keymaps/anderson/keymap.c')
-rw-r--r-- | keyboards/handwired/d48/keymaps/anderson/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/handwired/d48/keymaps/anderson/keymap.c b/keyboards/handwired/d48/keymaps/anderson/keymap.c index 25837a359..f63bf54ea 100644 --- a/keyboards/handwired/d48/keymaps/anderson/keymap.c +++ b/keyboards/handwired/d48/keymaps/anderson/keymap.c | |||
@@ -229,7 +229,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
229 | return state; | 229 | return state; |
230 | } | 230 | } |
231 | 231 | ||
232 | void encoder_update_user(uint8_t index, bool clockwise) { | 232 | bool encoder_update_user(uint8_t index, bool clockwise) { |
233 | if (index == 0) { | 233 | if (index == 0) { |
234 | if (!alpha_pressed) { | 234 | if (!alpha_pressed) { |
235 | tap_code(clockwise ? KC_VOLD : KC_VOLU); | 235 | tap_code(clockwise ? KC_VOLD : KC_VOLU); |
@@ -243,6 +243,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
243 | tap_code(clockwise ? KC_PGUP : KC_PGDN); | 243 | tap_code(clockwise ? KC_PGUP : KC_PGDN); |
244 | } | 244 | } |
245 | } | 245 | } |
246 | return true; | ||
246 | } | 247 | } |
247 | 248 | ||
248 | #ifdef OLED_DRIVER_ENABLE | 249 | #ifdef OLED_DRIVER_ENABLE |