Remove legacy keycodes, part 2 (#18660)
* `KC_SYSREQ` -> `KC_SYRQ` And one `KC_ALT_ERASE` -> `KC_ERAS` * `KC_NONUS_BSLASH` -> `KC_NUBS` * `KC_NUMLOCK` -> `KC_NUM` * `KC_CLCK` -> `KC_CAPS` * `KC_SCROLLLOCK` -> `KC_SCRL` * `KC_LBRACKET` -> `KC_LBRC` * `KC_RBRACKET` -> `KC_RBRC` * `KC_CAPSLOCK` -> `KC_CAPS`
This commit is contained in:
		
							parent
							
								
									c87bc92908
								
							
						
					
					
						commit
						c6f1b594a2
					
				
					 267 changed files with 529 additions and 538 deletions
				
			
		| 
						 | 
				
			
			@ -83,7 +83,7 @@ uint16_t convert_keycode(const uint16_t (*keymap)[2], uint16_t keycode, bool shi
 | 
			
		|||
  uint16_t pseudo_keycode;
 | 
			
		||||
 | 
			
		||||
  switch (keycode) {
 | 
			
		||||
    case KC_A ... KC_CAPSLOCK:
 | 
			
		||||
    case KC_A ... KC_CAPS_LOCK:
 | 
			
		||||
      #if defined(__AVR__) 
 | 
			
		||||
        if (shift_modded) {
 | 
			
		||||
          pseudo_keycode = pgm_read_word(&keymap[keycode][1]);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -94,7 +94,7 @@ uint16_t convert_keycode(const uint16_t (*keymap)[2], uint16_t keycode, bool shi
 | 
			
		|||
    uint16_t pseudo_keycode = 0x00; /* default value */
 | 
			
		||||
 | 
			
		||||
    switch (keycode) {
 | 
			
		||||
        case KC_A ... KC_CAPSLOCK:
 | 
			
		||||
        case KC_A ... KC_CAPS_LOCK:
 | 
			
		||||
#if defined(__AVR__)
 | 
			
		||||
            if (shift_modded) {
 | 
			
		||||
                pseudo_keycode = pgm_read_word(&keymap[keycode][1]);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue