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
				
			
		| 
						 | 
				
			
			@ -156,12 +156,12 @@ layer_state_t layer_state_set_user(layer_state_t state) {
 | 
			
		|||
    switch (get_highest_layer(state)) {
 | 
			
		||||
    case NL:
 | 
			
		||||
        if (!host_keyboard_led_state().num_lock) {
 | 
			
		||||
             tap_code16(KC_NLCK);
 | 
			
		||||
             tap_code16(KC_NUM_LOCK);
 | 
			
		||||
        }
 | 
			
		||||
        break;
 | 
			
		||||
    default: //  for any other layers, or the default layer
 | 
			
		||||
        if (host_keyboard_led_state().num_lock) {
 | 
			
		||||
             tap_code16(KC_NLCK);
 | 
			
		||||
             tap_code16(KC_NUM_LOCK);
 | 
			
		||||
        }
 | 
			
		||||
        break;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue