diff options
Diffstat (limited to 'keyboards/absinthe/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/absinthe/keymaps/default/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/absinthe/keymaps/default/keymap.c b/keyboards/absinthe/keymaps/default/keymap.c index d6c4549c4..e5c74366c 100644 --- a/keyboards/absinthe/keymaps/default/keymap.c +++ b/keyboards/absinthe/keymaps/default/keymap.c | |||
@@ -31,7 +31,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS) | 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_TRNS) |
32 | }; | 32 | }; |
33 | 33 | ||
34 | void encoder_update_user(uint8_t index, bool clockwise) { | 34 | bool encoder_update_user(uint8_t index, bool clockwise) { |
35 | if (index == 0) { /* First encoder */ | 35 | if (index == 0) { /* First encoder */ |
36 | if (clockwise) { | 36 | if (clockwise) { |
37 | tap_code(KC_VOLU); | 37 | tap_code(KC_VOLU); |
@@ -39,4 +39,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
39 | tap_code(KC_VOLD); | 39 | tap_code(KC_VOLD); |
40 | } | 40 | } |
41 | } | 41 | } |
42 | return true; | ||
42 | } | 43 | } |