aboutsummaryrefslogtreecommitdiff
path: root/keyboards/yanghu/unicorne/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/yanghu/unicorne/keymaps/default/keymap.c')
-rw-r--r--keyboards/yanghu/unicorne/keymaps/default/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/yanghu/unicorne/keymaps/default/keymap.c b/keyboards/yanghu/unicorne/keymaps/default/keymap.c
index 48e3b9a343..590f4a16ba 100644
--- a/keyboards/yanghu/unicorne/keymaps/default/keymap.c
+++ b/keyboards/yanghu/unicorne/keymaps/default/keymap.c
@@ -59,13 +59,13 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
if (clockwise) {
#ifdef MOUSEKEY_ENABLE
- tap_code(KC_MS_WH_DOWN);
+ tap_code(MS_WHLD);
#else
tap_code(KC_PGDN);
#endif
} else {
#ifdef MOUSEKEY_ENABLE
- tap_code(KC_MS_WH_UP);
+ tap_code(MS_WHLU);
#else
tap_code(KC_PGUP);
#endif