diff options
Diffstat (limited to 'keyboards/ymd75/keymaps/default')
-rw-r--r-- | keyboards/ymd75/keymaps/default/keymap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/ymd75/keymaps/default/keymap.c b/keyboards/ymd75/keymaps/default/keymap.c index 17c5244bd2..2b64124681 100644 --- a/keyboards/ymd75/keymaps/default/keymap.c +++ b/keyboards/ymd75/keymaps/default/keymap.c @@ -82,12 +82,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed) { switch(keycode) { case P_MACRO: - SEND_STRING(SS_DOWN(X_LALT)); - SEND_STRING(SS_TAP(X_KP_1)); - SEND_STRING(SS_TAP(X_KP_5)); - SEND_STRING(SS_TAP(X_KP_6)); - SEND_STRING(SS_UP(X_LALT)); - return false; break; + register_code(KC_LALT); + tap_code(KC_KP_1); + tap_code(KC_KP_5); + tap_code(KC_KP_6); + unregister_code(KC_LALT); + return false; } } return true; |