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/kbdfans/kbd6x/keymaps/konstantin/keymap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/kbdfans/kbd6x/keymaps/konstantin') diff --git a/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c b/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c index 43bd06da9b..b5c8d52d7a 100644 --- a/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c +++ b/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c @@ -103,10 +103,10 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { // Cannot use LM(L_RCTRL, MOD_RCTL) because it sends LCtrl instead of RCtrl case RCTRL: if (record->event.pressed) { - register_code(KC_RCTRL); + register_code(KC_RCTL); layer_on(L_RCTRL); } else { - unregister_code(KC_RCTRL); + unregister_code(KC_RCTL); layer_off(L_RCTRL); } break; -- cgit v1.2.3