forked from mfulz_github/qmk_firmware
		
	[Keyboard] fixes for issue with aanzee qmk port (#6159)
* fixed issue with LED indicators corrected error in info.json * fixed issue with led indictors * added fix for key_count to info.json for westfoxtrot/aanzee * fix to support config.qmk.fm correctly and remove unused key from matrix for westfoxtrot/aanzee * fix for caps_lock led * Update readme.md
This commit is contained in:
		
							parent
							
								
									b36bb58b76
								
							
						
					
					
						commit
						af34c548f9
					
				@ -30,23 +30,26 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "aanzee.h"
 | 
					#include "aanzee.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void keyboard_pre_init_kb(void) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // Call the keyboard pre init code.
 | 
				
			||||||
 | 
					    // Set our LED pins as output
 | 
				
			||||||
 | 
					    setPinOutput(B2);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    keyboard_pre_init_user();
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void led_set_kb(uint8_t usb_led) {
 | 
					void led_set_kb(uint8_t usb_led) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
 | 
					    if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
 | 
				
			||||||
 | 
					 | 
				
			||||||
// Turn capslock on
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // Turn capslock on
 | 
				
			||||||
        writePinLow(B2);
 | 
					        writePinLow(B2);
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
} else {
 | 
					        // Turn capslock off
 | 
				
			||||||
 | 
					 | 
				
			||||||
// Turn capslock off
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        writePinHigh(B2);
 | 
					        writePinHigh(B2);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					    led_set_user(usb_led);
 | 
				
			||||||
 | 
					 | 
				
			||||||
led_set_user(usb_led);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
# aanzee
 | 
					# aanzee
 | 
				
			||||||
 | 
					
 | 
				
			||||||

 | 
					[aanzee](https://cablecardesigns.co/portfolio-posts/aanzee)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
custom pcb for the aanzee keyboard
 | 
					custom pcb for the aanzee keyboard
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user