diff options
Diffstat (limited to 'keyboards/keybage/radpad/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/keybage/radpad/keymaps/default/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/keybage/radpad/keymaps/default/keymap.c b/keyboards/keybage/radpad/keymaps/default/keymap.c index f5904150e..69bb3c685 100644 --- a/keyboards/keybage/radpad/keymaps/default/keymap.c +++ b/keyboards/keybage/radpad/keymaps/default/keymap.c | |||
@@ -37,7 +37,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
37 | ) | 37 | ) |
38 | }; | 38 | }; |
39 | 39 | ||
40 | void encoder_update_user(uint8_t index, bool clockwise) { | 40 | bool encoder_update_user(uint8_t index, bool clockwise) { |
41 | if (index == 0) { /* Left encoder */ | 41 | if (index == 0) { /* Left encoder */ |
42 | if (clockwise) { | 42 | if (clockwise) { |
43 | tap_code16(KC_VOLU); | 43 | tap_code16(KC_VOLU); |
@@ -51,6 +51,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
51 | tap_code16(KC_MPRV); | 51 | tap_code16(KC_MPRV); |
52 | } | 52 | } |
53 | } | 53 | } |
54 | return true; | ||
54 | } | 55 | } |
55 | 56 | ||
56 | #ifdef OLED_DRIVER_ENABLE | 57 | #ifdef OLED_DRIVER_ENABLE |