diff options
Diffstat (limited to 'keyboards/nullbitsco/scramble/keymaps/via/keymap.c')
| -rw-r--r-- | keyboards/nullbitsco/scramble/keymaps/via/keymap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/nullbitsco/scramble/keymaps/via/keymap.c b/keyboards/nullbitsco/scramble/keymaps/via/keymap.c index 91a448cc1..d5b97855a 100644 --- a/keyboards/nullbitsco/scramble/keymaps/via/keymap.c +++ b/keyboards/nullbitsco/scramble/keymaps/via/keymap.c | |||
| @@ -52,10 +52,11 @@ void matrix_init_user(void) { | |||
| 52 | set_scramble_LED(LED_OFF); | 52 | set_scramble_LED(LED_OFF); |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | void encoder_update_user(uint8_t index, bool clockwise) { | 55 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 56 | if (clockwise) { | 56 | if (clockwise) { |
| 57 | tap_code(KC_VOLU); | 57 | tap_code(KC_VOLU); |
| 58 | } else { | 58 | } else { |
| 59 | tap_code(KC_VOLD); | 59 | tap_code(KC_VOLD); |
| 60 | } | 60 | } |
| 61 | } \ No newline at end of file | 61 | return true; |
| 62 | } | ||
