summaryrefslogtreecommitdiff
path: root/keyboards/planck
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-17 23:45:23 +1100
committerGitHub <noreply@github.com>2022-10-17 13:45:23 +0100
commitbad8c5992bf68b6f2218b9b7a0b31c6ee7a03796 (patch)
tree083b72d047875c7f216f5544f51c2197ee9a11b8 /keyboards/planck
parentc57330d3406230e37dfd9b75152f634fca012d8c (diff)
Remove legacy sendstring keycodes (#18749)
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/keymaps/dvorak2space/keymap.c4
-rw-r--r--keyboards/planck/keymaps/eosti/keymap.c4
-rw-r--r--keyboards/planck/keymaps/pickle_jr/keymap.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/planck/keymaps/dvorak2space/keymap.c b/keyboards/planck/keymaps/dvorak2space/keymap.c
index 8a347a37bb..08d56dd97a 100644
--- a/keyboards/planck/keymaps/dvorak2space/keymap.c
+++ b/keyboards/planck/keymaps/dvorak2space/keymap.c
@@ -137,8 +137,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { //X_KEY doesn'
if(record->event.pressed) {
(IS_LAYER_ON(SHFT_L)) //if shifted release correct shift, send, and press same shift, else send shift enter
? (get_mods() & MOD_BIT(KC_LSFT))
- ? SEND_STRING(SS_UP(X_LSHIFT) SS_TAP(X_ENTER) SS_DOWN(X_LSHIFT))
- : SEND_STRING(SS_UP(X_RSHIFT) SS_TAP(X_ENTER) SS_DOWN(X_RSHIFT))
+ ? SEND_STRING(SS_UP(X_LSFT) SS_TAP(X_ENTER) SS_DOWN(X_LSFT))
+ : SEND_STRING(SS_UP(X_RSFT) SS_TAP(X_ENTER) SS_DOWN(X_RSFT))
: SEND_STRING(SS_LSFT(SS_TAP(X_ENTER)));
}
return false;
diff --git a/keyboards/planck/keymaps/eosti/keymap.c b/keyboards/planck/keymaps/eosti/keymap.c
index 54e1c7f4c7..f1d66d2a91 100644
--- a/keyboards/planck/keymaps/eosti/keymap.c
+++ b/keyboards/planck/keymaps/eosti/keymap.c
@@ -34,13 +34,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case TMUX_WN: // Moves to the next tmux window
if (record->event.pressed) {
- SEND_STRING(SS_LCTRL("a") "n");
+ SEND_STRING(SS_LCTL("a") "n");
}
break;
case TMUX_WL: // Moves to the last tmux window
if (record->event.pressed) {
- SEND_STRING(SS_LCTRL("a") "n");
+ SEND_STRING(SS_LCTL("a") "n");
}
break;
}
diff --git a/keyboards/planck/keymaps/pickle_jr/keymap.c b/keyboards/planck/keymaps/pickle_jr/keymap.c
index 1b4b4a254b..2cd471c909 100644
--- a/keyboards/planck/keymaps/pickle_jr/keymap.c
+++ b/keyboards/planck/keymaps/pickle_jr/keymap.c
@@ -35,7 +35,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if(record->event.pressed) {
switch(keycode) {
case CTLALTD:
- SEND_STRING(SS_DOWN(X_LCTRL)SS_DOWN(X_LALT)SS_DOWN(X_DELETE)SS_UP(X_DELETE)SS_UP(X_LALT)SS_UP(X_LCTRL));
+ SEND_STRING(SS_DOWN(X_LCTL)SS_DOWN(X_LALT)SS_DOWN(X_DELETE)SS_UP(X_DELETE)SS_UP(X_LALT)SS_UP(X_LCTL));
return false;
case VIMSAVE:
SEND_STRING(":w");