aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c')
-rw-r--r--keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c b/keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
index ccc445be42..8a8cda6ea2 100644
--- a/keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
+++ b/keyboards/handwired/obuwunkunubi/spaget/keymaps/default/keymap.c
@@ -391,15 +391,15 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
else if(IS_LAYER_ON(ONE)) {
if (index == 0) { /* First encoder */
if (clockwise) {
- tap_code(KC_WH_R);
+ tap_code(MS_WHLR);
} else {
- tap_code(KC_WH_L);
+ tap_code(MS_WHLL);
}
} else if (index == 1) { /* Second encoder */
if (clockwise) {
- tap_code(KC_WH_D);
+ tap_code(MS_WHLD);
} else {
- tap_code(KC_WH_U);
+ tap_code(MS_WHLU);
}
}
}