summaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco/scramble/keymaps/via/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nullbitsco/scramble/keymaps/via/keymap.c')
-rw-r--r--keyboards/nullbitsco/scramble/keymaps/via/keymap.c7
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 91a448cc1a..d5b97855a5 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) {
set_scramble_LED(LED_OFF);
}
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
- }
-} \ No newline at end of file
+ }
+ return true;
+}