2019-07-11 21:04:22 +02:00
|
|
|
#pragma once
|
2017-10-13 23:02:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* key matrix size */
|
|
|
|
#define MATRIX_ROWS 5
|
|
|
|
#define MATRIX_COLS 4
|
|
|
|
|
2019-07-11 21:04:22 +02:00
|
|
|
/*
|
|
|
|
* Keyboard Matrix Assignments
|
|
|
|
*
|
|
|
|
* Change this to how you wired your keyboard
|
|
|
|
* COLS: AVR pins used for columns, left to right
|
|
|
|
* ROWS: AVR pins used for rows, top to bottom
|
|
|
|
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
|
|
|
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
|
|
|
*
|
|
|
|
*/
|
2017-10-13 23:02:56 +02:00
|
|
|
#define MATRIX_ROW_PINS { B2, B3, B1, F7, F6 }
|
|
|
|
#define MATRIX_COL_PINS { B5, B4, E6, D7 }
|
|
|
|
|
2019-07-11 21:04:22 +02:00
|
|
|
/* COL2ROW, ROW2COL */
|
2017-10-13 23:02:56 +02:00
|
|
|
#define DIODE_DIRECTION ROW2COL
|
|
|
|
|
2019-07-11 21:04:22 +02:00
|
|
|
#define BACKLIGHT_PIN C6
|
2017-10-13 23:02:56 +02:00
|
|
|
#define BACKLIGHT_LEVELS 5
|
2019-07-11 21:04:22 +02:00
|
|
|
|
2017-10-13 23:02:56 +02:00
|
|
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
|
|
|
#define LOCKING_SUPPORT_ENABLE
|
|
|
|
/* Locking resynchronize hack */
|
|
|
|
#define LOCKING_RESYNC_ENABLE
|
|
|
|
|
2019-07-11 21:04:22 +02:00
|
|
|
/*
|
|
|
|
* Feature disable options
|
|
|
|
* These options are also useful to firmware size reduction.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* disable debug print */
|
|
|
|
//#define NO_DEBUG
|
2017-10-13 23:02:56 +02:00
|
|
|
|
2019-07-11 21:04:22 +02:00
|
|
|
/* disable print */
|
|
|
|
//#define NO_PRINT
|
|
|
|
|
|
|
|
/* disable action features */
|
|
|
|
//#define NO_ACTION_LAYER
|
|
|
|
//#define NO_ACTION_TAPPING
|
|
|
|
//#define NO_ACTION_ONESHOT
|