Initial config.h

This commit is contained in:
2020-05-01 23:44:12 +02:00
parent fe82468c07
commit 14280416b1

View File

@@ -0,0 +1,26 @@
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x4201
#define DEVICE_VER 0x0001
#define MANUFACTURER Deon Spengler
#define PRODUCT Adept 42
#define DESCRIPTION A 42 key ortholinear, column staggered split keyboard
/* Key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 6
/* Key matrix pins */
#define MATRIX_ROW_PINS { D7, E6, B4, B5 }
#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
/* Diode direction (COL2ROW or ROW2COL) */
#define DIODE_DIRECTION COL2ROW
/* Reduces unintended double presses. Set 0 if debouncing is not needed */
#define DEBOUNCE 5
/* Configure serial communication for the split keyboard */
#define SOFT_SERIAL_PIN D2