aboutsummaryrefslogtreecommitdiff
path: root/keyboard/preonic/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/preonic/config.h')
-rw-r--r--keyboard/preonic/config.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboard/preonic/config.h b/keyboard/preonic/config.h
index bb9d29dab..e8d0e82fc 100644
--- a/keyboard/preonic/config.h
+++ b/keyboard/preonic/config.h
@@ -33,8 +33,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
33#define MATRIX_COLS 12 33#define MATRIX_COLS 12
34 34
35/* Planck PCB default pin-out */ 35/* Planck PCB default pin-out */
36#define COLS (int []){ F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 } 36#define MATRIX_ROW_PINS { D2, D5, B5, B6, D3 }
37#define ROWS (int []){ D2, D5, B5, B6, D3 } 37#define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 }
38#define UNUSED_PINS
38 39
39/* COL2ROW or ROW2COL */ 40/* COL2ROW or ROW2COL */
40#define DIODE_DIRECTION COL2ROW 41#define DIODE_DIRECTION COL2ROW
@@ -46,7 +47,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
46#define BACKLIGHT_LEVELS 3 47#define BACKLIGHT_LEVELS 3
47 48
48/* Set 0 if debouncing isn't needed */ 49/* Set 0 if debouncing isn't needed */
49#define DEBOUNCE 5 50#define DEBOUNCING_DELAY 5
50 51
51/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 52/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
52#define LOCKING_SUPPORT_ENABLE 53#define LOCKING_SUPPORT_ENABLE