summaryrefslogtreecommitdiff
path: root/keyboards/handwired/co60/keymaps/jmdaly_hhkb_split_space/keymap.c
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/handwired/co60/keymaps/jmdaly_hhkb_split_space/keymap.c
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/handwired/co60/keymaps/jmdaly_hhkb_split_space/keymap.c')
-rw-r--r--keyboards/handwired/co60/keymaps/jmdaly_hhkb_split_space/keymap.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/handwired/co60/keymaps/jmdaly_hhkb_split_space/keymap.c b/keyboards/handwired/co60/keymaps/jmdaly_hhkb_split_space/keymap.c
index d9634786a8..5f53092aef 100644
--- a/keyboards/handwired/co60/keymaps/jmdaly_hhkb_split_space/keymap.c
+++ b/keyboards/handwired/co60/keymaps/jmdaly_hhkb_split_space/keymap.c
@@ -64,37 +64,37 @@ void matrix_scan_user(void) {
// Close a program in i3wm
SEQ_ONE_KEY(KC_Q) {
register_code(KC_LGUI);
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_Q);
unregister_code(KC_Q);
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
unregister_code(KC_LGUI);
}
// Exit i3wm
SEQ_ONE_KEY(KC_E) {
register_code(KC_LGUI);
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_E);
unregister_code(KC_E);
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
unregister_code(KC_LGUI);
}
// Copy selected text in suckless terminal
SEQ_ONE_KEY(KC_C) {
register_code(KC_LCTL);
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_C);
unregister_code(KC_C);
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
unregister_code(KC_LCTL);
}
// Paste text in suckless terminal
SEQ_ONE_KEY(KC_V) {
register_code(KC_LCTL);
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_V);
unregister_code(KC_V);
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
unregister_code(KC_LCTL);
}
// FZF shortcut to fuzzy switch directories