[Keyboard] Add support for jj4x4 numpad/macropad by Kprepublic (#5016)
* added keyboard jj4x4, a shorter version of the jj40 * removed useless file * edited jj4x4 readme.md * optimized array size in jj4x4 config.h, removed reference to jj40 layouts from rules.mk * removed custom matrix for this ps2avrgb board, refactored column and row pins
This commit is contained in:
		
							parent
							
								
									d4e1e712f6
								
							
						
					
					
						commit
						7df9e584fa
					
				
					 15 changed files with 1325 additions and 0 deletions
				
			
		
							
								
								
									
										15
									
								
								keyboards/jj4x4/backlight_custom.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								keyboards/jj4x4/backlight_custom.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
/**
 | 
			
		||||
 * Backlighting code for PS2AVRGB boards (ATMEGA32A)
 | 
			
		||||
 * Kenneth A. (github.com/krusli | krusli.me)
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef BACKLIGHT_CUSTOM_H
 | 
			
		||||
#define BACKLIGHT_CUSTOM_H
 | 
			
		||||
 | 
			
		||||
#include <avr/pgmspace.h>
 | 
			
		||||
void b_led_init_ports(void);
 | 
			
		||||
void b_led_set(uint8_t level);
 | 
			
		||||
void b_led_task(void);
 | 
			
		||||
void setPWM(uint16_t xValue);
 | 
			
		||||
 | 
			
		||||
#endif  // BACKLIGHT_CUSTOM_H
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue