[Keyboard] Set reasonable defaults for Corne keyboard (#13440)
* [Keyboard] Set reasonable defaults for Corne keyboard * Add note about bootmagic * Make bootmagic config super weak * cleanup * Apply suggestions from code review * Update keyboards/crkbd/readme.md
This commit is contained in:
		
							parent
							
								
									acf7de7a52
								
							
						
					
					
						commit
						792c4e7893
					
				
					 5 changed files with 72 additions and 37 deletions
				
			
		| 
						 | 
				
			
			@ -21,20 +21,22 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#include "config_common.h"
 | 
			
		||||
 | 
			
		||||
/* USB Device descriptor parameter */
 | 
			
		||||
#define VENDOR_ID       0x4653
 | 
			
		||||
#define PRODUCT_ID      0x0001
 | 
			
		||||
#define DEVICE_VER      0x0001
 | 
			
		||||
#define MANUFACTURER    foostan
 | 
			
		||||
#define PRODUCT         Corne
 | 
			
		||||
#define VENDOR_ID    0x4653
 | 
			
		||||
#define PRODUCT_ID   0x0001
 | 
			
		||||
#define DEVICE_VER   0x0001
 | 
			
		||||
#define MANUFACTURER foostan
 | 
			
		||||
#define PRODUCT      Corne
 | 
			
		||||
 | 
			
		||||
/* key matrix size */
 | 
			
		||||
// Rows are doubled-up
 | 
			
		||||
#define MATRIX_ROWS 8
 | 
			
		||||
#define MATRIX_COLS 6
 | 
			
		||||
#define MATRIX_ROW_PINS { D4, C6, D7, E6 }
 | 
			
		||||
#define MATRIX_ROWS  8
 | 
			
		||||
#define MATRIX_COLS  6
 | 
			
		||||
#define MATRIX_ROW_PINS \
 | 
			
		||||
    { D4, C6, D7, E6 }
 | 
			
		||||
 | 
			
		||||
// wiring of each half
 | 
			
		||||
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 }
 | 
			
		||||
#define MATRIX_COL_PINS \
 | 
			
		||||
    { F4, F5, F6, F7, B1, B3 }
 | 
			
		||||
// #define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4 } //uncomment this line and comment line above if you need to reverse left-to-right key order
 | 
			
		||||
 | 
			
		||||
/* define if matrix has ghost */
 | 
			
		||||
| 
						 | 
				
			
			@ -51,7 +53,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* Locking resynchronize hack */
 | 
			
		||||
//#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
 *  These options are also useful to firmware size reduction.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue