diff options
Diffstat (limited to 'keyboards/sck/gtm/keymaps/vol/keymap.c')
-rw-r--r-- | keyboards/sck/gtm/keymaps/vol/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/sck/gtm/keymaps/vol/keymap.c b/keyboards/sck/gtm/keymaps/vol/keymap.c index e3d01439d..3eaa696bb 100644 --- a/keyboards/sck/gtm/keymaps/vol/keymap.c +++ b/keyboards/sck/gtm/keymaps/vol/keymap.c | |||
@@ -14,10 +14,11 @@ void matrix_init_user(void) { | |||
14 | debug_config.enable = 1; | 14 | debug_config.enable = 1; |
15 | } | 15 | } |
16 | 16 | ||
17 | void encoder_update_user(int8_t index, bool clockwise) { | 17 | bool encoder_update_user(uint8_t index, bool clockwise) { |
18 | if (clockwise) { | 18 | if (clockwise) { |
19 | tap_code(KC_VOLU); | 19 | tap_code(KC_VOLU); |
20 | } else { | 20 | } else { |
21 | tap_code(KC_VOLD); | 21 | tap_code(KC_VOLD); |
22 | } | 22 | } |
23 | return true; | ||
23 | } | 24 | } |