From 74223c34a969c0877bde035c721c21a1f25890fa Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 17 Oct 2022 00:14:40 +1100 Subject: Remove legacy keycodes, part 6 (#18740) * `KC_RSHIFT` -> `KC_RSFT` * `KC_RCTRL` -> `KC_RCTL` * `KC_LSHIFT` -> `KC_LSFT` * `KC_LCTRL` -> `KC_LCTL` --- keyboards/h0oni/deskpad/keymaps/default/keymap.c | 4 ++-- keyboards/h0oni/deskpad/keymaps/via/keymap.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'keyboards/h0oni') diff --git a/keyboards/h0oni/deskpad/keymaps/default/keymap.c b/keyboards/h0oni/deskpad/keymaps/default/keymap.c index 993200f18c..54172f2986 100644 --- a/keyboards/h0oni/deskpad/keymaps/default/keymap.c +++ b/keyboards/h0oni/deskpad/keymaps/default/keymap.c @@ -97,7 +97,7 @@ void layer_reset(qk_tap_dance_state_t *state, void *user_data) { void cvxa_finished(qk_tap_dance_state_t *state, void *user_data) { cvxa_state.state = cur_dance(state); - register_mods(MOD_BIT(KC_LCTRL)); + register_mods(MOD_BIT(KC_LCTL)); switch (cvxa_state.state) { case TD_SINGLE_TAP: tap_code(KC_V); break; case TD_SINGLE_HOLD: tap_code(KC_A); break; @@ -105,7 +105,7 @@ void cvxa_finished(qk_tap_dance_state_t *state, void *user_data) { case TD_DOUBLE_HOLD: tap_code(KC_X); break; default: tap_code(KC_V); } - unregister_mods(MOD_BIT(KC_LCTRL)); + unregister_mods(MOD_BIT(KC_LCTL)); } void cvxa_reset(qk_tap_dance_state_t *state, void *user_data) { diff --git a/keyboards/h0oni/deskpad/keymaps/via/keymap.c b/keyboards/h0oni/deskpad/keymaps/via/keymap.c index 993200f18c..54172f2986 100644 --- a/keyboards/h0oni/deskpad/keymaps/via/keymap.c +++ b/keyboards/h0oni/deskpad/keymaps/via/keymap.c @@ -97,7 +97,7 @@ void layer_reset(qk_tap_dance_state_t *state, void *user_data) { void cvxa_finished(qk_tap_dance_state_t *state, void *user_data) { cvxa_state.state = cur_dance(state); - register_mods(MOD_BIT(KC_LCTRL)); + register_mods(MOD_BIT(KC_LCTL)); switch (cvxa_state.state) { case TD_SINGLE_TAP: tap_code(KC_V); break; case TD_SINGLE_HOLD: tap_code(KC_A); break; @@ -105,7 +105,7 @@ void cvxa_finished(qk_tap_dance_state_t *state, void *user_data) { case TD_DOUBLE_HOLD: tap_code(KC_X); break; default: tap_code(KC_V); } - unregister_mods(MOD_BIT(KC_LCTRL)); + unregister_mods(MOD_BIT(KC_LCTL)); } void cvxa_reset(qk_tap_dance_state_t *state, void *user_data) { -- cgit v1.2.3