summaryrefslogtreecommitdiff
path: root/keyboards/ymd75/keymaps/default
diff options
context:
space:
mode:
authorJared Hendry <jared.hendry@shopify.com>2020-04-19 19:58:58 -0400
committerGitHub <noreply@github.com>2020-04-20 00:58:58 +0100
commit1522d97c2b74577780fe97a52079d0ab68902ed5 (patch)
tree6b6b028a692fdadaebd47554f340baf4786d88ba /keyboards/ymd75/keymaps/default
parent2d39a9dcdbdef1202d890a81505e7d33fe04cde0 (diff)
downloadqmk_firmware-1522d97c2b74577780fe97a52079d0ab68902ed5.tar.gz
qmk_firmware-1522d97c2b74577780fe97a52079d0ab68902ed5.zip
Add support for YMD75 rev 2 (#8853)
Diffstat (limited to 'keyboards/ymd75/keymaps/default')
-rw-r--r--keyboards/ymd75/keymaps/default/keymap.c12
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;