mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 13:22:31 +01:00 
			
		
		
		
	add num lock indicator functionality to hineybush/h10 (#10100)
* add num lock indicator functionality to h10 * Update keyboards/hineybush/h10/h10.c
This commit is contained in:
		
							parent
							
								
									5772ac8bf6
								
							
						
					
					
						commit
						297bda1c1f
					
				| @ -20,10 +20,15 @@ | ||||
| // You can leave any or all of these undefined.
 | ||||
| // These are only required if you want to perform custom actions.
 | ||||
| 
 | ||||
| /*
 | ||||
| bool led_update_kb(led_t led_state) { | ||||
|     // placeholder for LED indicator added to next revision
 | ||||
| 
 | ||||
|     return led_update_user(led_state); | ||||
| void matrix_init_kb(void) { | ||||
|     // put your keyboard start-up code here
 | ||||
|     // runs once when the firmware starts up
 | ||||
|    	setPinOutput(F7); | ||||
| } | ||||
| 
 | ||||
| bool led_update_kb(led_t led_state) { | ||||
|     if(led_update_user(led_state)) { | ||||
|         writePin(F7, !led_state.num_lock); | ||||
|     } | ||||
|     return true; | ||||
| } | ||||
| */ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Josh Hinnebusch
						Josh Hinnebusch