Remove legacy keycodes, part 6 (#18740)
* `KC_RSHIFT` -> `KC_RSFT` * `KC_RCTRL` -> `KC_RCTL` * `KC_LSHIFT` -> `KC_LSFT` * `KC_LCTRL` -> `KC_LCTL`
This commit is contained in:
		
							parent
							
								
									39c22f5cf5
								
							
						
					
					
						commit
						74223c34a9
					
				
					 553 changed files with 1139 additions and 1151 deletions
				
			
		| 
						 | 
				
			
			@ -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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue