aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hub16/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hub16/keymaps/default/keymap.c')
-rwxr-xr-xkeyboards/hub16/keymaps/default/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/hub16/keymaps/default/keymap.c b/keyboards/hub16/keymaps/default/keymap.c
index e077fe740..1c1d188f2 100755
--- a/keyboards/hub16/keymaps/default/keymap.c
+++ b/keyboards/hub16/keymaps/default/keymap.c
@@ -33,7 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
33 ), 33 ),
34}; 34};
35 35
36void encoder_update_user(uint8_t index, bool clockwise) { 36bool encoder_update_user(uint8_t index, bool clockwise) {
37 if (index == 0) { /* Left Encoder */ 37 if (index == 0) { /* Left Encoder */
38 if (clockwise) { 38 if (clockwise) {
39 tap_code(KC_VOLD); 39 tap_code(KC_VOLD);
@@ -47,4 +47,5 @@ void encoder_update_user(uint8_t index, bool clockwise) {
47 tap_code(KC_MNXT); 47 tap_code(KC_MNXT);
48 } 48 }
49 } 49 }
50 return true;
50} 51}