summaryrefslogtreecommitdiff
path: root/users
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 /users
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 'users')
-rw-r--r--users/alfrdmalr/alfrdmalr.h2
-rw-r--r--users/art/funcs/string_funcs.c6
-rw-r--r--users/brandonschlack/process_records.c4
-rw-r--r--users/d4mation/tap-dance.c2
-rw-r--r--users/datagrok/feature_cdeq.c2
-rw-r--r--users/datagrok/feature_default_layers_selector.c2
-rw-r--r--users/doogle999/doogle999.h2
-rw-r--r--users/drashna/oled/oled_stuff.c4
-rw-r--r--users/gordon/gordon.c12
-rw-r--r--users/issmirnov/rows.h2
-rw-r--r--users/miles2go/milestogo.h4
-rw-r--r--users/moults31/obs.c4
-rw-r--r--users/pcoves/tapDance.c4
-rw-r--r--users/sethBarberee/tap_dance.c4
-rw-r--r--users/sigul/sigul.c10
-rw-r--r--users/twschum/twschum.c2
-rw-r--r--users/twschum/xtonhasvim.c42
-rw-r--r--users/wanleg/tapdances.c4
-rw-r--r--users/xtonhasvim/xtonhasvim.c50
-rw-r--r--users/zer09/tap_dance.c8
20 files changed, 85 insertions, 85 deletions
diff --git a/users/alfrdmalr/alfrdmalr.h b/users/alfrdmalr/alfrdmalr.h
index 828001b582..6d6e5dfcfc 100644
--- a/users/alfrdmalr/alfrdmalr.h
+++ b/users/alfrdmalr/alfrdmalr.h
@@ -219,7 +219,7 @@ enum alfrdmalr_keycodes {
// LEFT
// - CORE
#define __NAVIGATION_L1__ KC_NO, KC_NO, KC_SPC, KC_F5, KC_NO
-#define __NAVIGATION_L2__ KC_LSFT, KC_LCTRL, KC_LALT, KC_LGUI, KC_NO
+#define __NAVIGATION_L2__ KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, KC_NO
#define __NAVIGATION_L3__ WINUNDO, WINCUT, WINCOPY, WINPASTE, KC_NO
// - MODS
diff --git a/users/art/funcs/string_funcs.c b/users/art/funcs/string_funcs.c
index 3cf35356e1..319b1310e4 100644
--- a/users/art/funcs/string_funcs.c
+++ b/users/art/funcs/string_funcs.c
@@ -46,8 +46,8 @@ const uint16_t PROGMEM combo_up[] = {KC_W, KC_R, COMBO_END};
const uint16_t PROGMEM combo_left[] = {KC_S, KC_E, COMBO_END};
const uint16_t PROGMEM combo_right[] = {KC_F, KC_E, COMBO_END};
const uint16_t PROGMEM combo_down[] = {KC_S, KC_F, COMBO_END};
-const uint16_t PROGMEM combo_prev_word[] = {KC_S, KC_LCTRL, COMBO_END};
-const uint16_t PROGMEM combo_next_word[] = {KC_F, KC_LCTRL, COMBO_END};
+const uint16_t PROGMEM combo_prev_word[] = {KC_S, KC_LCTL, COMBO_END};
+const uint16_t PROGMEM combo_next_word[] = {KC_F, KC_LCTL, COMBO_END};
const uint16_t PROGMEM combo_end[] = {KC_W, KC_E, COMBO_END};
const uint16_t PROGMEM combo_home[] = {KC_E, KC_R, COMBO_END};
@@ -64,7 +64,7 @@ const uint16_t PROGMEM combo_f8[] = {KC_8, KC_I, COMBO_END};
const uint16_t PROGMEM combo_f9[] = {KC_9, KC_O, COMBO_END};
const uint16_t PROGMEM combo_f10[] = {KC_0, KC_P, COMBO_END};
const uint16_t PROGMEM combo_f11[] = {LT(GIT,KC_SLSH), KC_RSFT, COMBO_END};
-const uint16_t PROGMEM combo_f12[] = {KC_RALT, KC_RCTRL, COMBO_END};
+const uint16_t PROGMEM combo_f12[] = {KC_RALT, KC_RCTL, COMBO_END};
const uint16_t PROGMEM combo_pscreen[] = {TO(WORKMAN), KC_RALT, COMBO_END};
const uint16_t PROGMEM done_sm[] = {KC_LEFT, KC_RIGHT, COMBO_END};
diff --git a/users/brandonschlack/process_records.c b/users/brandonschlack/process_records.c
index dfd427bdc1..892bc7e062 100644
--- a/users/brandonschlack/process_records.c
+++ b/users/brandonschlack/process_records.c
@@ -101,7 +101,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
break;
case RGB_THEME_FORWARD:
if (record->event.pressed) {
- uint8_t shifted = get_mods() & (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT));
+ uint8_t shifted = get_mods() & (MOD_BIT(KC_LSFT)|MOD_BIT(KC_RSFT));
if(shifted) {
rgb_theme_step_reverse();
} else {
@@ -112,7 +112,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
break;
case RGB_THEME_REVERSE:
if (record->event.pressed) {
- uint8_t shifted = get_mods() & (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT));
+ uint8_t shifted = get_mods() & (MOD_BIT(KC_LSFT)|MOD_BIT(KC_RSFT));
if(shifted) {
rgb_theme_step();
} else {
diff --git a/users/d4mation/tap-dance.c b/users/d4mation/tap-dance.c
index 46f2274f5f..77d09962d6 100644
--- a/users/d4mation/tap-dance.c
+++ b/users/d4mation/tap-dance.c
@@ -2,5 +2,5 @@
qk_tap_dance_action_t tap_dance_actions[] = {
/* Tap once/hold for Shift, tap twice for Caps Lock */
- [SHIFT_CAPS] = ACTION_TAP_DANCE_DOUBLE( KC_LSHIFT, KC_CAPS )
+ [SHIFT_CAPS] = ACTION_TAP_DANCE_DOUBLE( KC_LSFT, KC_CAPS )
}; \ No newline at end of file
diff --git a/users/datagrok/feature_cdeq.c b/users/datagrok/feature_cdeq.c
index c1796ab227..50f784b2dd 100644
--- a/users/datagrok/feature_cdeq.c
+++ b/users/datagrok/feature_cdeq.c
@@ -27,7 +27,7 @@ bool process_record_cdeq(uint16_t keycode, keyrecord_t *record) {
return true;
}
- shifted = get_mods() & (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT));
+ shifted = get_mods() & (MOD_BIT(KC_LSFT)|MOD_BIT(KC_RSFT));
// Keydown. If shift is currently pressed, register its alternate keycode.
if (record->event.pressed && shifted) {
diff --git a/users/datagrok/feature_default_layers_selector.c b/users/datagrok/feature_default_layers_selector.c
index c83c773f83..0ae1a894a0 100644
--- a/users/datagrok/feature_default_layers_selector.c
+++ b/users/datagrok/feature_default_layers_selector.c
@@ -15,7 +15,7 @@ bool process_record_save_default_layer(uint16_t keycode, keyrecord_t *record) {
if (!(keycode == KF_LAYO
&& record->event.pressed
- && get_mods() & (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)))) {
+ && get_mods() & (MOD_BIT(KC_LSFT)|MOD_BIT(KC_RSFT)))) {
return true;
}
diff --git a/users/doogle999/doogle999.h b/users/doogle999/doogle999.h
index 7ed38fbcc8..44c7c19fd9 100644
--- a/users/doogle999/doogle999.h
+++ b/users/doogle999/doogle999.h
@@ -6,7 +6,7 @@
#define NO_ACTION_ONESHOT
#define NO_ACTION_MACRO
-#define MODS_SHIFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT))
+#define MODS_SHIFT_MASK (MOD_BIT(KC_LSFT)|MOD_BIT(KC_RSFT))
// Layer the calculator is on
#define CALC_LAYER 2
diff --git a/users/drashna/oled/oled_stuff.c b/users/drashna/oled/oled_stuff.c
index 7aee350baf..85a66eec7e 100644
--- a/users/drashna/oled/oled_stuff.c
+++ b/users/drashna/oled/oled_stuff.c
@@ -375,14 +375,14 @@ void render_mod_status(uint8_t modifiers, uint8_t col, uint8_t line) {
#endif
oled_write_P(PSTR(OLED_RENDER_MODS_NAME), false);
#if defined(OLED_DISPLAY_VERBOSE)
- oled_write_P(mod_status[0], (modifiers & MOD_BIT(KC_LSHIFT)));
+ oled_write_P(mod_status[0], (modifiers & MOD_BIT(KC_LSFT)));
oled_write_P(mod_status[!keymap_config.swap_lctl_lgui ? 3 : 4], (modifiers & MOD_BIT(KC_LGUI)));
oled_write_P(mod_status[2], (modifiers & MOD_BIT(KC_LALT)));
oled_write_P(mod_status[1], (modifiers & MOD_BIT(KC_LCTL)));
oled_write_P(mod_status[1], (modifiers & MOD_BIT(KC_RCTL)));
oled_write_P(mod_status[2], (modifiers & MOD_BIT(KC_RALT)));
oled_write_P(mod_status[!keymap_config.swap_lctl_lgui ? 3 : 4], (modifiers & MOD_BIT(KC_RGUI)));
- oled_write_P(mod_status[0], (modifiers & MOD_BIT(KC_RSHIFT)));
+ oled_write_P(mod_status[0], (modifiers & MOD_BIT(KC_RSFT)));
#else
oled_write_P(mod_status[0], (modifiers & MOD_MASK_SHIFT));
oled_write_P(mod_status[!keymap_config.swap_lctl_lgui ? 3 : 4], (modifiers & MOD_MASK_GUI));
diff --git a/users/gordon/gordon.c b/users/gordon/gordon.c
index 3115e1c328..cc9f3a2599 100644
--- a/users/gordon/gordon.c
+++ b/users/gordon/gordon.c
@@ -60,12 +60,12 @@ void unregister_shift_f6 (void) {
void register_ctrl_shift (void) {
register_code (KC_LSFT);
- register_code (KC_LCTRL);
+ register_code (KC_LCTL);
}
void unregister_ctrl_shift (void) {
unregister_code (KC_LSFT);
- unregister_code (KC_LCTRL);
+ unregister_code (KC_LCTL);
}
void register_alt_shift (void) {
@@ -177,8 +177,8 @@ void tab_finished (qk_tap_dance_state_t *state, void *user_data) {
case SINGLE_HOLD: register_ctrl_shift(); break;
case DOUBLE_HOLD: register_alt_shift(); break; //alt shift on single hold
case DOUBLE_TAP: register_code(KC_TAB); unregister_code(KC_TAB); register_code(KC_TAB); break; //tab tab
- case TRIPLE_TAP: register_code(KC_LSHIFT) ;register_code(KC_ESC); break;
- case TRIPLE_HOLD: register_code(KC_LSHIFT); register_code(KC_LGUI); break;
+ case TRIPLE_TAP: register_code(KC_LSFT) ;register_code(KC_ESC); break;
+ case TRIPLE_HOLD: register_code(KC_LSFT); register_code(KC_LGUI); break;
}
}
@@ -188,8 +188,8 @@ void tab_reset (qk_tap_dance_state_t *state, void *user_data) {
case DOUBLE_HOLD: unregister_alt_shift(); break; //let go of alt shift
case DOUBLE_TAP: unregister_code(KC_TAB); break;
case SINGLE_HOLD: unregister_ctrl_shift(); break;
- case TRIPLE_TAP: unregister_code(KC_LSHIFT); unregister_code(KC_ESC); break;
- case TRIPLE_HOLD: unregister_code(KC_LSHIFT); unregister_code(KC_LGUI); break;
+ case TRIPLE_TAP: unregister_code(KC_LSFT); unregister_code(KC_ESC); break;
+ case TRIPLE_HOLD: unregister_code(KC_LSFT); unregister_code(KC_LGUI); break;
}
tab_state.state = 0;
}
diff --git a/users/issmirnov/rows.h b/users/issmirnov/rows.h
index 4774e0162c..bac91d641b 100644
--- a/users/issmirnov/rows.h
+++ b/users/issmirnov/rows.h
@@ -40,7 +40,7 @@
// Note: These are 6x1 blocks, since modifiers are also adjusted.
#define ______________OVERWATCH_L1_________________ KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T
#define ______________OVERWATCH_L2_________________ KC_LCTL , KC_A , KC_S , KC_D , KC_F , KC_P
-#define ______________OVERWATCH_L3_________________ KC_LSHIFT , KC_Z , KC_X , KC_C , KC_V , KC_GRAVE
+#define ______________OVERWATCH_L3_________________ KC_LSFT , KC_Z , KC_X , KC_C , KC_V , KC_GRAVE
// Ergodox only has 5 keys on bottom row:
#define ______________OVERWATCH_L4_________________ KC_LCTL , KC_F9 , KC_PSCR , KC_H , KC_R
diff --git a/users/miles2go/milestogo.h b/users/miles2go/milestogo.h
index 3a99f6d2a8..81fc02ded1 100644
--- a/users/miles2go/milestogo.h
+++ b/users/miles2go/milestogo.h
@@ -36,8 +36,8 @@ enum userspace_layers { _QWERTY = 0, _CDH, _SYM, _MOV, _DMOV, _NUM };
/*
define modifiers here, since MOD_* doesn't seem to work for these
*/
-#define MODS_SHIFT_MASK (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))
-#define MODS_CTRL_MASK (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTRL))
+#define MODS_SHIFT_MASK (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT))
+#define MODS_CTRL_MASK (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL))
#define MODS_ALT_MASK (MOD_BIT(KC_LALT) | MOD_BIT(KC_RALT))
#define MODS_GUI_MASK (MOD_BIT(KC_LGUI) | MOD_BIT(KC_RGUI))
diff --git a/users/moults31/obs.c b/users/moults31/obs.c
index 0ae5f3deb4..a0d2ee5496 100644
--- a/users/moults31/obs.c
+++ b/users/moults31/obs.c
@@ -17,7 +17,7 @@
bool process_record_obs(uint16_t keycode, keyrecord_t *record) {
// Apply all 4 mods for custom OBS macros
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_LCTL);
register_code(KC_LALT);
register_code(KC_LGUI);
@@ -71,7 +71,7 @@ bool process_record_obs(uint16_t keycode, keyrecord_t *record) {
}
// Unpress all 4 mods for custom OBS macros
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
unregister_code(KC_LCTL);
unregister_code(KC_LALT);
unregister_code(KC_LGUI);
diff --git a/users/pcoves/tapDance.c b/users/pcoves/tapDance.c
index 548ed35274..05b451f02e 100644
--- a/users/pcoves/tapDance.c
+++ b/users/pcoves/tapDance.c
@@ -60,7 +60,7 @@ void altFinish(qk_tap_dance_state_t* state, void* user_data) {
case 3:
if (state->pressed) {
register_code(KC_RALT);
- register_code(KC_RSHIFT);
+ register_code(KC_RSFT);
Alt = HOLD3;
}
break;
@@ -78,7 +78,7 @@ void altReset(qk_tap_dance_state_t* state, void* user_data) {
unregister_code(KC_RALT);
break;
case HOLD3:
- unregister_code(KC_RSHIFT);
+ unregister_code(KC_RSFT);
unregister_code(KC_RALT);
break;
}
diff --git a/users/sethBarberee/tap_dance.c b/users/sethBarberee/tap_dance.c
index 588ac9be66..9461e5ad60 100644
--- a/users/sethBarberee/tap_dance.c
+++ b/users/sethBarberee/tap_dance.c
@@ -51,7 +51,7 @@ void dance_ecap_finished (qk_tap_dance_state_t *state, void *user_data){
tap_code(KC_ESC);
break;
case SINGLE_HOLD:
- register_code(KC_LCTRL);
+ register_code(KC_LCTL);
break;
case DOUBLE_TAP:
tap_code(KC_CAPS);
@@ -76,7 +76,7 @@ void dance_ecap_finished (qk_tap_dance_state_t *state, void *user_data){
void dance_ecap_reset (qk_tap_dance_state_t *state, void *user_data){
if(caps_status.state == SINGLE_HOLD){
- unregister_code(KC_LCTRL);
+ unregister_code(KC_LCTL);
}
caps_status.state = 0;
}
diff --git a/users/sigul/sigul.c b/users/sigul/sigul.c
index 725881ad8a..c9793ebb1f 100644
--- a/users/sigul/sigul.c
+++ b/users/sigul/sigul.c
@@ -25,7 +25,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case IT_SCCL:
if (record->event.pressed){
- if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){
+ if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RIGHT_SHIFT)){
register_code16(IT_COLN);
} else {
register_code16(IT_SCLN);
@@ -39,7 +39,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case IT_APDQ:
if (record->event.pressed){
- if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){
+ if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RIGHT_SHIFT)){
register_code16(IT_DQUO);
} else {
register_code16(IT_QUOT);
@@ -53,7 +53,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case IT_CMLS:
if (record->event.pressed){
- if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){
+ if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RIGHT_SHIFT)){
unregister_code16(KC_LSFT);
register_code16(IT_LABK);
register_code16(KC_LSFT);
@@ -69,7 +69,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case IT_DTMR:
if (record->event.pressed){
- if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){
+ if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RIGHT_SHIFT)){
register_code16(IT_RABK);
} else {
register_code16(IT_DOT);
@@ -83,7 +83,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case IT_SLQS:
if (record->event.pressed){
- if (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT)){
+ if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RIGHT_SHIFT)){
register_code16(IT_QUES);
} else {
register_code16(IT_SLSH);
diff --git a/users/twschum/twschum.c b/users/twschum/twschum.c
index 2d34f95718..7f1cb3de78 100644
--- a/users/twschum/twschum.c
+++ b/users/twschum/twschum.c
@@ -79,7 +79,7 @@ static inline bool tap_ctrl_other_pressed(void) {
// need to send the plain keycode plus potential mods
if (get_mods() & MOD_MASK_CTRL) {
// make sure to send a shift if prssed
- repeat_send_keys(key->count, KC_RSHIFT, key->keycode);
+ repeat_send_keys(key->count, KC_RSFT, key->keycode);
}
else {
repeat_send_keys(key->count, key->keycode);
diff --git a/users/twschum/xtonhasvim.c b/users/twschum/xtonhasvim.c
index 15d1b0d940..b3f410bc26 100644
--- a/users/twschum/xtonhasvim.c
+++ b/users/twschum/xtonhasvim.c
@@ -144,9 +144,9 @@ bool process_record_vimlayer(uint16_t keycode, keyrecord_t *record) {
break;
case VIM_C:
if(SHIFTED) {
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
tap_code16(LGUI(KC_RIGHT));
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
tap_code16(LGUI(KC_X));
yank_was_lines = false;
EDIT;
@@ -225,9 +225,9 @@ bool process_record_vimlayer(uint16_t keycode, keyrecord_t *record) {
// s for substitute?
if(SHIFTED) {
tap_code16(LGUI(KC_LEFT));
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
tap_code16(LGUI(KC_RIGHT));
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
tap_code16(LGUI(KC_X));
yank_was_lines = false;
EDIT;
@@ -242,7 +242,7 @@ bool process_record_vimlayer(uint16_t keycode, keyrecord_t *record) {
if(SHIFTED) {
register_code(KC_LSFT);
tap_code16(LGUI(KC_Z));
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
} else {
tap_code16(LGUI(KC_Z));
}
@@ -305,9 +305,9 @@ bool process_record_vimlayer(uint16_t keycode, keyrecord_t *record) {
case VIM_C:
tap_code16(LGUI(KC_LEFT));
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
tap_code16(LGUI(KC_RIGHT));
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
tap_code16(LGUI(KC_X));
yank_was_lines = false;
EDIT;
@@ -327,9 +327,9 @@ bool process_record_vimlayer(uint16_t keycode, keyrecord_t *record) {
switch(keycode) {
case VIM_W:
tap_code16(LALT(KC_LEFT));
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
tap_code16(LALT(KC_RIGHT));
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
tap_code16(LGUI(KC_X));
yank_was_lines = false;
EDIT;
@@ -377,9 +377,9 @@ bool process_record_vimlayer(uint16_t keycode, keyrecord_t *record) {
switch(keycode) {
case VIM_W:
tap_code16(LALT(KC_LEFT));
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
tap_code16(LALT(KC_RIGHT));
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
tap_code16(LGUI(KC_X));
yank_was_lines = false;
vstate = VIM_START;
@@ -401,33 +401,33 @@ bool process_record_vimlayer(uint16_t keycode, keyrecord_t *record) {
break;
case VIM_B:
register_code(KC_LALT);
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_LEFT);
// leave open for key repeat
break;
case VIM_E:
register_code(KC_LALT);
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_RIGHT);
// leave open for key repeat
break;
case VIM_H:
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_LEFT);
break;
case VIM_I:
vstate = VIM_VI;
break;
case VIM_J:
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_DOWN);
break;
case VIM_K:
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_UP);
break;
case VIM_L:
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_RIGHT);
break;
case VIM_W:
@@ -468,9 +468,9 @@ bool process_record_vimlayer(uint16_t keycode, keyrecord_t *record) {
switch(keycode) {
case VIM_W:
tap_code16(LALT(KC_LEFT));
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
tap_code16(LALT(KC_RIGHT));
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
vstate = VIM_V;
default:
// ignore
@@ -490,11 +490,11 @@ bool process_record_vimlayer(uint16_t keycode, keyrecord_t *record) {
vstate = VIM_START;
break;
case VIM_J:
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_DOWN);
break;
case VIM_K:
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
register_code(KC_UP);
break;
case VIM_Y:
diff --git a/users/wanleg/tapdances.c b/users/wanleg/tapdances.c
index 1be5636dc7..8f87af720e 100644
--- a/users/wanleg/tapdances.c
+++ b/users/wanleg/tapdances.c
@@ -224,7 +224,7 @@ void BSW_finished (qk_tap_dance_state_t *state, void *user_data) {
#endif
break;
case DOUBLE_TAP:
- register_code(KC_LCTRL);
+ register_code(KC_LCTL);
register_code(KC_C);
break;
case DOUBLE_HOLD:
@@ -237,7 +237,7 @@ void BSW_reset (qk_tap_dance_state_t *state, void *user_data) {
switch (BSWtap_state.state) {
case SINGLE_TAP: unregister_code(KC_ENTER); break;
case DOUBLE_TAP:
- unregister_code(KC_LCTRL);
+ unregister_code(KC_LCTL);
unregister_code(KC_C);
break;
}
diff --git a/users/xtonhasvim/xtonhasvim.c b/users/xtonhasvim/xtonhasvim.c
index 1bb5781c47..2d59cf2c62 100644
--- a/users/xtonhasvim/xtonhasvim.c
+++ b/users/xtonhasvim/xtonhasvim.c
@@ -36,15 +36,15 @@ static void CMD(uint16_t keycode) {
}
static void CTRL(uint16_t keycode) {
- PRESS(KC_LCTRL);
+ PRESS(KC_LCTL);
TAP(keycode);
- RELEASE(KC_LCTRL);
+ RELEASE(KC_LCTL);
}
static void SHIFT(uint16_t keycode) {
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
TAP(keycode);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
}
static void ALT(uint16_t keycode) {
@@ -194,9 +194,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
break;
case VIM_C:
if(SHIFTED) {
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
CMD(KC_RIGHT);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
CMD(KC_X);
yank_was_lines = false;
EDIT;
@@ -275,9 +275,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
// s for substitute?
if(SHIFTED) {
CMD(KC_LEFT);
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
CMD(KC_RIGHT);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
CMD(KC_X);
yank_was_lines = false;
EDIT;
@@ -292,7 +292,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if(SHIFTED) {
PRESS(KC_LSFT);
CMD(KC_Z);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
} else {
CMD(KC_Z);
}
@@ -355,9 +355,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case VIM_C:
CMD(KC_LEFT);
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
CMD(KC_RIGHT);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
CMD(KC_X);
yank_was_lines = false;
EDIT;
@@ -377,9 +377,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch(keycode) {
case VIM_W:
ALT(KC_LEFT);
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
ALT(KC_RIGHT);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
CMD(KC_X);
yank_was_lines = false;
EDIT;
@@ -427,9 +427,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch(keycode) {
case VIM_W:
ALT(KC_LEFT);
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
ALT(KC_RIGHT);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
CMD(KC_X);
yank_was_lines = false;
vstate = VIM_START;
@@ -451,33 +451,33 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
break;
case VIM_B:
PRESS(KC_LALT);
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
PRESS(KC_LEFT);
// leave open for key repeat
break;
case VIM_E:
PRESS(KC_LALT);
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
PRESS(KC_RIGHT);
// leave open for key repeat
break;
case VIM_H:
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
PRESS(KC_LEFT);
break;
case VIM_I:
vstate = VIM_VI;
break;
case VIM_J:
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
PRESS(KC_DOWN);
break;
case VIM_K:
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
PRESS(KC_UP);
break;
case VIM_L:
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
PRESS(KC_RIGHT);
break;
case VIM_W:
@@ -518,9 +518,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch(keycode) {
case VIM_W:
ALT(KC_LEFT);
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
ALT(KC_RIGHT);
- RELEASE(KC_LSHIFT);
+ RELEASE(KC_LSFT);
vstate = VIM_V;
default:
// ignore
@@ -540,11 +540,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
vstate = VIM_START;
break;
case VIM_J:
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
PRESS(KC_DOWN);
break;
case VIM_K:
- PRESS(KC_LSHIFT);
+ PRESS(KC_LSFT);
PRESS(KC_UP);
break;
case VIM_Y:
diff --git a/users/zer09/tap_dance.c b/users/zer09/tap_dance.c
index e99b26cca0..4c7d182d8a 100644
--- a/users/zer09/tap_dance.c
+++ b/users/zer09/tap_dance.c
@@ -55,11 +55,11 @@ int cur_dance(qk_tap_dance_state_t *state) {
void dance_lctl_finished(qk_tap_dance_state_t *state, void *user_data) {
rbw_led_keys[RBW_LCTL].status = ENABLED;
- register_code(KC_LCTRL);
+ register_code(KC_LCTL);
};
void dance_lctl_reset(qk_tap_dance_state_t *state, void *user_data) {
- unregister_code(KC_LCTRL);
+ unregister_code(KC_LCTL);
rbw_led_keys[RBW_LCTL].status = DISABLED;
};
@@ -91,11 +91,11 @@ void dance_lspr_reset(qk_tap_dance_state_t *state, void *user_data) {
void dance_rctl_finished(qk_tap_dance_state_t *state, void *user_data) {
rbw_led_keys[RBW_RCTL].status = ENABLED;
- register_code(KC_RCTRL);
+ register_code(KC_RCTL);
};
void dance_rctl_reset(qk_tap_dance_state_t *state, void *user_data) {
- unregister_code(KC_RCTRL);
+ unregister_code(KC_RCTL);
rbw_led_keys[RBW_RCTL].status = DISABLED;
};