diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-14 04:28:14 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 18:28:14 +0100 |
commit | 5629ba18077ee5dcde72e497ddf46d848817dd5c (patch) | |
tree | 36e95fe41e63586903b220461d8c7d623f069c61 /keyboards/planck/keymaps/dvorak2space | |
parent | 474c0bc8a2886077fa8dbdb4a8a7a57f4e1291d1 (diff) |
Remove legacy keycodes, part 4 (#18683)
* `KC_PGDOWN` -> `KC_PGDN`
* `KC_PSCREEN` -> `KC_PSCR`
* `KC_SCOLON` -> `KC_SCLN`
* `KC_BSLASH` -> `KC_BSLS`
* `KC_BSPACE` -> `KC_BSPC`
Diffstat (limited to 'keyboards/planck/keymaps/dvorak2space')
-rw-r--r-- | keyboards/planck/keymaps/dvorak2space/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/dvorak2space/keymap.c b/keyboards/planck/keymaps/dvorak2space/keymap.c index 9abdaf800a..8a347a37bb 100644 --- a/keyboards/planck/keymaps/dvorak2space/keymap.c +++ b/keyboards/planck/keymaps/dvorak2space/keymap.c @@ -196,9 +196,9 @@ int cur_dance(qk_tap_dance_state_t *state) { return press; } -void back_tap(qk_tap_dance_state_t *state, void *user_data) { tap_code(KC_BSPACE); } +void back_tap(qk_tap_dance_state_t *state, void *user_data) { tap_code(KC_BACKSPACE); } -void back_finished(qk_tap_dance_state_t *state, void *user_data) { if(!(state->interrupted || !state->pressed)) tap_code16(LCTL(KC_BSPACE)); } +void back_finished(qk_tap_dance_state_t *state, void *user_data) { if(!(state->interrupted || !state->pressed)) tap_code16(LCTL(KC_BACKSPACE)); } void slash_finished(qk_tap_dance_state_t *state, void *user_data) { int td_state = cur_dance(state); |