2022-03-07 07:16:50 +00:00
|
|
|
// Copyright 2021-22 Willem McGloughlin (wymcg)
|
2021-12-15 02:52:10 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
/* key matrix size */
|
|
|
|
#define MATRIX_ROWS 3
|
|
|
|
#define MATRIX_COLS 4
|
|
|
|
|
2022-03-07 07:16:50 +00:00
|
|
|
/* Keyboard Matrix Assignments */
|
2021-12-15 02:52:10 +00:00
|
|
|
#define MATRIX_ROW_PINS { D0, D4, C6 }
|
|
|
|
#define MATRIX_COL_PINS { D7, E6, B4, B5 }
|
|
|
|
|
2022-03-07 07:16:50 +00:00
|
|
|
/* Encoder Assignments */
|
|
|
|
#define ENCODERS_PAD_A { B6 }
|
|
|
|
#define ENCODERS_PAD_B { B2 }
|
|
|
|
#define ENCODER_RESOLUTION 4
|
|
|
|
|
2021-12-15 02:52:10 +00:00
|
|
|
/* COL2ROW, ROW2COL */
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
|
|
|
|
/* 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
|