aboutsummaryrefslogtreecommitdiff
path: root/keyboard/jd45/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/jd45/config.h')
-rw-r--r--keyboard/jd45/config.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/keyboard/jd45/config.h b/keyboard/jd45/config.h
index 1b81fe32e..ffedb6a1a 100644
--- a/keyboard/jd45/config.h
+++ b/keyboard/jd45/config.h
@@ -30,11 +30,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
30 30
31/* key matrix size */ 31/* key matrix size */
32#define MATRIX_ROWS 4 32#define MATRIX_ROWS 4
33#define MATRIX_COLS 13 33#define MATRIX_COLS 13
34 34
35/* Planck PCB default pin-out */ 35/* Planck PCB default pin-out */
36#define COLS (int []){F4, D7, B5, B6, C6, C7, D4, D6, D5, D0, D1, D2, B0} 36#define MATRIX_ROW_PINS { F0, F1, F5, B4 }
37#define ROWS (int []){F0, F1, F5, B4} 37#define MATRIX_COL_PINS { F4, D7, B5, B6, C6, C7, D4, D6, D5, D0, D1, D2, B0 }
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