summaryrefslogtreecommitdiff
path: root/keyboards/h0oni
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-17 00:14:40 +1100
committerGitHub <noreply@github.com>2022-10-16 14:14:40 +0100
commit74223c34a969c0877bde035c721c21a1f25890fa (patch)
tree1daea9db13a0adb529e5aba4aa1e6f893cb7ed8c /keyboards/h0oni
parent39c22f5cf5011427ece26c510d0b1ab42edf34db (diff)
Remove legacy keycodes, part 6 (#18740)
* `KC_RSHIFT` -> `KC_RSFT` * `KC_RCTRL` -> `KC_RCTL` * `KC_LSHIFT` -> `KC_LSFT` * `KC_LCTRL` -> `KC_LCTL`
Diffstat (limited to 'keyboards/h0oni')
-rw-r--r--keyboards/h0oni/deskpad/keymaps/default/keymap.c4
-rw-r--r--keyboards/h0oni/deskpad/keymaps/via/keymap.c4
2 files changed, 4 insertions, 4 deletions
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) {