diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-17 23:45:23 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 13:45:23 +0100 |
commit | bad8c5992bf68b6f2218b9b7a0b31c6ee7a03796 (patch) | |
tree | 083b72d047875c7f216f5544f51c2197ee9a11b8 /keyboards/keebio | |
parent | c57330d3406230e37dfd9b75152f634fca012d8c (diff) |
Remove legacy sendstring keycodes (#18749)
Diffstat (limited to 'keyboards/keebio')
-rw-r--r-- | keyboards/keebio/bdn9/keymaps/hbbisenieks/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/keebio/iris/keymaps/eosti/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/keebio/levinson/keymaps/rossman360/keymap.c | 18 | ||||
-rw-r--r-- | keyboards/keebio/nyquist/keymaps/bramver/keymap.c | 8 | ||||
-rw-r--r-- | keyboards/keebio/viterbi/keymaps/met/keymap.c | 18 |
5 files changed, 26 insertions, 26 deletions
diff --git a/keyboards/keebio/bdn9/keymaps/hbbisenieks/keymap.c b/keyboards/keebio/bdn9/keymaps/hbbisenieks/keymap.c index 1b44e88ccf..a7bb707635 100644 --- a/keyboards/keebio/bdn9/keymaps/hbbisenieks/keymap.c +++ b/keyboards/keebio/bdn9/keymaps/hbbisenieks/keymap.c @@ -77,9 +77,9 @@ bool encoder_update_user(uint8_t index, bool clockwise) { } else if (index == 1) { if (clockwise) { - SEND_STRING(SS_LCTRL("1")); // audacity zoom in + SEND_STRING(SS_LCTL("1")); // audacity zoom in } else { - SEND_STRING(SS_LCTRL("3")); // audacity zoom out + SEND_STRING(SS_LCTL("3")); // audacity zoom out } } return true; diff --git a/keyboards/keebio/iris/keymaps/eosti/keymap.c b/keyboards/keebio/iris/keymaps/eosti/keymap.c index c30e5c9867..f615921199 100644 --- a/keyboards/keebio/iris/keymaps/eosti/keymap.c +++ b/keyboards/keebio/iris/keymaps/eosti/keymap.c @@ -33,13 +33,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case TMUX_WN: // Switches to next window in tmux if (record->event.pressed) { - SEND_STRING(SS_LCTRL("a") "n"); // Requires a leader of ctrl-a + SEND_STRING(SS_LCTL("a") "n"); // Requires a leader of ctrl-a } break; case TMUX_WL: // Switches to last window in tmux if (record->event.pressed) { - SEND_STRING(SS_LCTRL("a") "l"); + SEND_STRING(SS_LCTL("a") "l"); } break; diff --git a/keyboards/keebio/levinson/keymaps/rossman360/keymap.c b/keyboards/keebio/levinson/keymaps/rossman360/keymap.c index 4c9cac0fb8..aeb501bf1b 100644 --- a/keyboards/keebio/levinson/keymaps/rossman360/keymap.c +++ b/keyboards/keebio/levinson/keymaps/rossman360/keymap.c @@ -49,47 +49,47 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case CSPEAK: if (record->event.pressed) { - SEND_STRING(SS_TAP(X_PGDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PGDOWN)); + SEND_STRING(SS_TAP(X_PAGEDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PAGEDOWN)); } break; case SPEAK1: if (record->event.pressed) { - SEND_STRING(SS_TAP(X_PGDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PGDOWN) SS_LCTRL(SS_TAP(X_1))); + SEND_STRING(SS_TAP(X_PAGEDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PAGEDOWN) SS_LCTL(SS_TAP(X_1))); } break; case SPEAK2: if (record->event.pressed) { - SEND_STRING(SS_TAP(X_PGDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PGDOWN) SS_LCTRL(SS_TAP(X_2))); + SEND_STRING(SS_TAP(X_PAGEDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PAGEDOWN) SS_LCTL(SS_TAP(X_2))); } break; case SPEAK3: if (record->event.pressed) { - SEND_STRING(SS_TAP(X_PGDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PGDOWN) SS_LCTRL(SS_TAP(X_3))); + SEND_STRING(SS_TAP(X_PAGEDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PAGEDOWN) SS_LCTL(SS_TAP(X_3))); } break; case SPEAK4: if (record->event.pressed) { - SEND_STRING(SS_TAP(X_PGDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PGDOWN) SS_LCTRL(SS_TAP(X_4))); + SEND_STRING(SS_TAP(X_PAGEDOWN) SS_TAP(X_ENTER) SS_TAP(X_ENTER) SS_TAP(X_PAGEDOWN) SS_LCTL(SS_TAP(X_4))); } break; case PARADOWN: if (record->event.pressed) { - SEND_STRING(SS_TAP(X_PGDOWN) SS_TAP(X_ENTER) SS_TAP(X_PGDOWN)); + SEND_STRING(SS_TAP(X_PAGEDOWN) SS_TAP(X_ENTER) SS_TAP(X_PAGEDOWN)); } break; case PMERGE: if (record->event.pressed) { - SEND_STRING(SS_TAP(X_HOME) SS_TAP(X_BSPACE) SS_TAP(X_SPACE) SS_LCTRL(SS_TAP(X_BSPACE)) SS_TAP(X_SPACE)); + SEND_STRING(SS_TAP(X_HOME) SS_TAP(X_BACKSPACE) SS_TAP(X_SPACE) SS_LCTL(SS_TAP(X_BACKSPACE)) SS_TAP(X_SPACE)); } break; case WREFRESH: if (record->event.pressed) { - SEND_STRING(SS_TAP(X_SPACE) SS_TAP(X_BSPACE)); + SEND_STRING(SS_TAP(X_SPACE) SS_TAP(X_BACKSPACE)); } break; case REMCAPS: if (record->event.pressed) { - SEND_STRING(SS_TAP(X_LEFT) SS_TAP(X_LEFT) SS_LCTRL(SS_TAP(X_LEFT)) SS_TAP(X_DELETE)); + SEND_STRING(SS_TAP(X_LEFT) SS_TAP(X_LEFT) SS_LCTL(SS_TAP(X_LEFT)) SS_TAP(X_DELETE)); } break; }; diff --git a/keyboards/keebio/nyquist/keymaps/bramver/keymap.c b/keyboards/keebio/nyquist/keymaps/bramver/keymap.c index 108f910400..fc39554475 100644 --- a/keyboards/keebio/nyquist/keymaps/bramver/keymap.c +++ b/keyboards/keebio/nyquist/keymaps/bramver/keymap.c @@ -250,16 +250,16 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { if (record->event.pressed) { switch(keycode) { case CTRL_Z: - SEND_STRING(SS_LCTRL("z")); + SEND_STRING(SS_LCTL("z")); return false; case CTRL_X: - SEND_STRING(SS_LCTRL("x")); + SEND_STRING(SS_LCTL("x")); return false; case CTRL_C: - SEND_STRING(SS_LCTRL("c")); + SEND_STRING(SS_LCTL("c")); return false; case CTRL_V: - SEND_STRING(SS_LCTRL("v")); + SEND_STRING(SS_LCTL("v")); return false; } } diff --git a/keyboards/keebio/viterbi/keymaps/met/keymap.c b/keyboards/keebio/viterbi/keymaps/met/keymap.c index 45427018a7..b81c5ce314 100644 --- a/keyboards/keebio/viterbi/keymaps/met/keymap.c +++ b/keyboards/keebio/viterbi/keymaps/met/keymap.c @@ -87,14 +87,14 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { layer_off(_ALPHA); SEND_STRING(SS_TAP(X_N)); SEND_STRING(SS_TAP(X_N)); - SEND_STRING(SS_LCTRL(SS_TAP(X_C))); + SEND_STRING(SS_LCTL(SS_TAP(X_C))); } break; case RESUME: if (record->event.pressed) { layer_off(_PLAYED); layer_on(_PLAYING); - SEND_STRING(SS_LCTRL(SS_TAP(X_C))); + SEND_STRING(SS_LCTL(SS_TAP(X_C))); SEND_STRING(SS_TAP(X_UP)); SEND_STRING(SS_TAP(X_ENTER)); } @@ -116,14 +116,14 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { break; case SHUTDOWN: if (record->event.pressed) { - SEND_STRING(SS_LCTRL(SS_TAP(X_C))); + SEND_STRING(SS_LCTL(SS_TAP(X_C))); SEND_STRING("shutdown now"); SEND_STRING(SS_TAP(X_ENTER)); } break; case REBOOT: if (record->event.pressed) { - SEND_STRING(SS_LCTRL(SS_TAP(X_C))); + SEND_STRING(SS_LCTL(SS_TAP(X_C))); SEND_STRING("reboot"); SEND_STRING(SS_TAP(X_ENTER)); } @@ -155,7 +155,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { layer_off(_ALPHA); layer_off(_PLAYED); layer_on(_PLAYING); - SEND_STRING(SS_LCTRL(SS_TAP(X_C))); + SEND_STRING(SS_LCTL(SS_TAP(X_C))); _delay_ms(250); SEND_STRING("play Desktop/met/a_lazoom.mp3"); SEND_STRING(SS_TAP(X_ENTER)); @@ -200,18 +200,18 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { case PMERGE: if (record->event.pressed) { SEND_STRING(SS_TAP(X_HOME)); - SEND_STRING(SS_TAP(X_BSPACE)); + SEND_STRING(SS_TAP(X_BACKSPACE)); SEND_STRING(SS_TAP(X_SPACE)); - SEND_STRING(SS_LCTRL(SS_TAP(X_BSPACE))); + SEND_STRING(SS_LCTL(SS_TAP(X_BACKSPACE))); SEND_STRING(SS_TAP(X_SPACE)); } break; case CSPEAK: if (record->event.pressed) { - SEND_STRING(SS_TAP(X_PGDOWN)); + SEND_STRING(SS_TAP(X_PAGE_DOWN)); SEND_STRING(SS_TAP(X_ENTER)); SEND_STRING(SS_TAP(X_ENTER)); - SEND_STRING(SS_TAP(X_PGDOWN)); + SEND_STRING(SS_TAP(X_PAGE_DOWN)); } break; }; |