aboutsummaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco/scramble/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nullbitsco/scramble/keymaps/default/keymap.c')
-rw-r--r--keyboards/nullbitsco/scramble/keymaps/default/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/nullbitsco/scramble/keymaps/default/keymap.c b/keyboards/nullbitsco/scramble/keymaps/default/keymap.c
index 2ccffe3d8..b80214110 100644
--- a/keyboards/nullbitsco/scramble/keymaps/default/keymap.c
+++ b/keyboards/nullbitsco/scramble/keymaps/default/keymap.c
@@ -32,10 +32,11 @@ void matrix_init_user(void) {
32 set_scramble_LED(LED_OFF); 32 set_scramble_LED(LED_OFF);
33} 33}
34 34
35void encoder_update_user(uint8_t index, bool clockwise) { 35bool encoder_update_user(uint8_t index, bool clockwise) {
36 if (clockwise) { 36 if (clockwise) {
37 tap_code(KC_VOLU); 37 tap_code(KC_VOLU);
38 } else { 38 } else {
39 tap_code(KC_VOLD); 39 tap_code(KC_VOLD);
40 } 40 }
41 return true;
41} 42}