You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					24 lines
				
				634 B
			
		
		
			
		
	
	
					24 lines
				
				634 B
			| 
								 
											6 years ago
										 
									 | 
							
								#pragma once
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include "config_common.h"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/* USB Device descriptor parameter */
							 | 
						||
| 
								 | 
							
								#define VENDOR_ID       0xFEED
							 | 
						||
| 
								 | 
							
								#define PRODUCT_ID      0x6060
							 | 
						||
| 
								 | 
							
								#define DEVICE_VER      0x0001
							 | 
						||
| 
								 | 
							
								#define MANUFACTURER    Wulkan
							 | 
						||
| 
								 | 
							
								#define PRODUCT         Handwired48Keys
							 | 
						||
| 
								 | 
							
								#define DESCRIPTION     A compact ortholinear handwired keyboard
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/* key matrix size */
							 | 
						||
| 
								 | 
							
								#define MATRIX_ROWS 4
							 | 
						||
| 
								 | 
							
								#define MATRIX_COLS 12
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#define MATRIX_ROW_PINS { B8, A0, A1, A2 }
							 | 
						||
| 
								 | 
							
								#define MATRIX_COL_PINS { B13, B14, B15, B9, B7, B6, B5, B4, B3, B2, B1, B0 }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
							 | 
						||
| 
								 | 
							
								#define DEBOUNCE 5
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#define FORCE_NKRO
							 |