- Initial commit for branch DK60
This commit is contained in:
		
							parent
							
								
									7180e195e8
								
							
						
					
					
						commit
						230c70e285
					
				
					 7 changed files with 184 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								keyboards/dk60/dk60.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								keyboards/dk60/dk60.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
#include "dk60.h"
 | 
			
		||||
 | 
			
		||||
void led_set_kb(uint8_t usb_led) {
 | 
			
		||||
	// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
 | 
			
		||||
 | 
			
		||||
    if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
 | 
			
		||||
		dk60_caps_led_on();
 | 
			
		||||
		} else {
 | 
			
		||||
		dk60_caps_led_off();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
	led_set_user(usb_led);
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue