fix pegasushoof caps light, add via keymap (#19649)
Co-authored-by: jack <0x6a73@protonmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Fucong Wang <wangfuco@Fucongs-Mac-mini.local>
This commit is contained in:
		
							parent
							
								
									ad817a71a3
								
							
						
					
					
						commit
						f1b5659ba8
					
				
					 17 changed files with 85 additions and 143 deletions
				
			
		| 
						 | 
				
			
			@ -39,18 +39,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		|||
    _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,          _______,             KC_MPLY,
 | 
			
		||||
    _______, _______, _______,                            _______,                            _______, _______, QK_BOOT,   _______,    KC_MPRV, KC_MSTP, KC_MNXT
 | 
			
		||||
  )
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void led_set_user(uint8_t usb_led) {
 | 
			
		||||
  if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
 | 
			
		||||
    ph_caps_led_on();
 | 
			
		||||
  } else {
 | 
			
		||||
    ph_caps_led_off();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
 | 
			
		||||
    ph_sclk_led_on();
 | 
			
		||||
  } else {
 | 
			
		||||
    ph_sclk_led_off();
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
};
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue