Remove legacy keycodes, part 5 (#18710)
* `KC_SLCK` -> `KC_SCRL` * `KC_NLCK` -> `KC_NUM`
This commit is contained in:
		
							parent
							
								
									92d7964b28
								
							
						
					
					
						commit
						5e4b076af3
					
				
					 2171 changed files with 2799 additions and 2802 deletions
				
			
		| 
						 | 
				
			
			@ -55,12 +55,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
        case NUMSLCK: {
 | 
			
		||||
            if (record->event.pressed) {
 | 
			
		||||
                if (keyboard_report->mods & MODS_SHIFT_MASK) {
 | 
			
		||||
                    tap_code(KC_NLCK);
 | 
			
		||||
                    tap_code(KC_NUM);
 | 
			
		||||
                } else {
 | 
			
		||||
                    register_code(KC_SLCK);
 | 
			
		||||
                    register_code(KC_SCRL);
 | 
			
		||||
                }
 | 
			
		||||
            } else {
 | 
			
		||||
                unregister_code(KC_SLCK);
 | 
			
		||||
                unregister_code(KC_SCRL);
 | 
			
		||||
            }
 | 
			
		||||
            break;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue