diff options
Diffstat (limited to 'keyboards/basekeys/trifecta/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/basekeys/trifecta/keymaps/default/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/basekeys/trifecta/keymaps/default/keymap.c b/keyboards/basekeys/trifecta/keymaps/default/keymap.c index 727ebf381..6db61e476 100644 --- a/keyboards/basekeys/trifecta/keymaps/default/keymap.c +++ b/keyboards/basekeys/trifecta/keymaps/default/keymap.c | |||
@@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
48 | ) | 48 | ) |
49 | }; | 49 | }; |
50 | 50 | ||
51 | void encoder_update_user(uint8_t index, bool clockwise) { | 51 | bool encoder_update_user(uint8_t index, bool clockwise) { |
52 | if (index == 0) { /* First encoder */ | 52 | if (index == 0) { /* First encoder */ |
53 | if (clockwise) { | 53 | if (clockwise) { |
54 | tap_code(KC_VOLU); | 54 | tap_code(KC_VOLU); |
@@ -68,4 +68,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
68 | tap_code(KC_LEFT); | 68 | tap_code(KC_LEFT); |
69 | } | 69 | } |
70 | } | 70 | } |
71 | return true; | ||
71 | } | 72 | } |