diff options
Diffstat (limited to 'keyboards/tau4/keymaps/default/keymap.c')
-rwxr-xr-x | keyboards/tau4/keymaps/default/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/tau4/keymaps/default/keymap.c b/keyboards/tau4/keymaps/default/keymap.c index aff188e4c..f5585ce2a 100755 --- a/keyboards/tau4/keymaps/default/keymap.c +++ b/keyboards/tau4/keymaps/default/keymap.c | |||
@@ -101,7 +101,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
101 | return state; | 101 | return state; |
102 | } | 102 | } |
103 | 103 | ||
104 | void encoder_update_user(uint8_t index, bool clockwise) { | 104 | bool encoder_update_user(uint8_t index, bool clockwise) { |
105 | if (index == 0) { /* First encoder */ | 105 | if (index == 0) { /* First encoder */ |
106 | if (clockwise) { | 106 | if (clockwise) { |
107 | tap_code(KC_VOLU); | 107 | tap_code(KC_VOLU); |
@@ -109,6 +109,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
109 | tap_code(KC_VOLD); | 109 | tap_code(KC_VOLD); |
110 | } | 110 | } |
111 | } | 111 | } |
112 | return true; | ||
112 | } | 113 | } |
113 | 114 | ||
114 | 115 | ||