2017-05-29 04:52:38 +06:00
|
|
|
#ifndef CONFIG_USER_H
|
|
|
|
#define CONFIG_USER_H
|
|
|
|
|
|
|
|
#include "../../config.h"
|
|
|
|
|
2017-05-29 05:28:18 +06:00
|
|
|
/* USB Device descriptor parameter */
|
2017-05-29 17:53:13 +06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#undef VENDOR_ID
|
|
|
|
#undef PRODUCT_ID
|
|
|
|
#undef MANUFACTURER
|
|
|
|
#undef PRODUCT
|
|
|
|
#undef DESCRIPTION
|
|
|
|
#undef MATRIX_ROW_PINS
|
|
|
|
#undef MATRIX_COL_PINS
|
|
|
|
#undef UNUSED_PINS
|
|
|
|
#undef BACKLIGHT_PIN
|
|
|
|
#undef BACKLIGHT_LEVELS
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-29 05:28:18 +06:00
|
|
|
#define VENDOR_ID 0xFEED
|
|
|
|
#define PRODUCT_ID 0x6060
|
|
|
|
#define MANUFACTURER binaryplease
|
|
|
|
#define PRODUCT Teensy_Planck
|
|
|
|
#define DESCRIPTION A compact ortholinear keyboard using a teensy 2.0
|
2017-05-29 04:52:38 +06:00
|
|
|
|
2017-05-29 05:28:18 +06:00
|
|
|
#define MATRIX_ROW_PINS { D3, D2, D1, D0 }
|
|
|
|
#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, B6, B5, B4, D7, D6, D4 }
|
|
|
|
#define UNUSED_PINS
|
2017-05-29 04:52:38 +06:00
|
|
|
|
2017-05-29 05:28:18 +06:00
|
|
|
#define BACKLIGHT_PIN B7
|
2017-05-29 04:52:38 +06:00
|
|
|
|
2017-05-29 05:28:18 +06:00
|
|
|
/* number of backlight levels */
|
|
|
|
#define BACKLIGHT_LEVELS 0
|
2017-05-29 04:52:38 +06:00
|
|
|
|
|
|
|
|
2017-05-29 05:28:18 +06:00
|
|
|
#endif
|