Redox keyboard code (#2843)
* Added Redox keyboard with default keymap (IT layout) * Updated manufacturer url * Applied requested changes
This commit is contained in:
		
							parent
							
								
									19aa2c34e8
								
							
						
					
					
						commit
						3b7b1994cd
					
				
					 20 changed files with 1553 additions and 0 deletions
				
			
		
							
								
								
									
										22
									
								
								keyboards/redox/rev1/rev1.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								keyboards/redox/rev1/rev1.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,22 @@
 | 
			
		|||
#include "redox.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef SSD1306OLED
 | 
			
		||||
void led_set_kb(uint8_t usb_led) {
 | 
			
		||||
    // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
 | 
			
		||||
    led_set_user(usb_led);
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
void matrix_init_kb(void) {
 | 
			
		||||
 | 
			
		||||
    // // green led on
 | 
			
		||||
    // DDRD |= (1<<5);
 | 
			
		||||
    // PORTD &= ~(1<<5);
 | 
			
		||||
 | 
			
		||||
    // // orange led on
 | 
			
		||||
    // DDRB |= (1<<0);
 | 
			
		||||
    // PORTB &= ~(1<<0);
 | 
			
		||||
 | 
			
		||||
	matrix_init_user();
 | 
			
		||||
};
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue