diff options
Diffstat (limited to 'keyboards/le_chiffre/keymaps/via/keymap.c')
-rw-r--r-- | keyboards/le_chiffre/keymaps/via/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/le_chiffre/keymaps/via/keymap.c b/keyboards/le_chiffre/keymaps/via/keymap.c index 485fa1b72..fcb546374 100644 --- a/keyboards/le_chiffre/keymaps/via/keymap.c +++ b/keyboards/le_chiffre/keymaps/via/keymap.c | |||
@@ -38,7 +38,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
38 | ), | 38 | ), |
39 | }; | 39 | }; |
40 | 40 | ||
41 | void encoder_update_user(uint8_t index, bool clockwise) { | 41 | bool encoder_update_user(uint8_t index, bool clockwise) { |
42 | if (index == 0) { | 42 | if (index == 0) { |
43 | if (clockwise) { | 43 | if (clockwise) { |
44 | tap_code(KC_MNXT); | 44 | tap_code(KC_MNXT); |
@@ -46,6 +46,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
46 | tap_code(KC_MPRV); | 46 | tap_code(KC_MPRV); |
47 | } | 47 | } |
48 | } | 48 | } |
49 | return true; | ||
49 | } | 50 | } |
50 | 51 | ||
51 | #ifdef OLED_DRIVER_ENABLE //Special thanks to Sickbabies for this great OLED widget! | 52 | #ifdef OLED_DRIVER_ENABLE //Special thanks to Sickbabies for this great OLED widget! |