aboutsummaryrefslogtreecommitdiff
path: root/keyboards/45_ats/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/45_ats/config.h')
-rw-r--r--keyboards/45_ats/config.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/keyboards/45_ats/config.h b/keyboards/45_ats/config.h
new file mode 100644
index 000000000..4733095bc
--- /dev/null
+++ b/keyboards/45_ats/config.h
@@ -0,0 +1,52 @@
1 /*
2 Copyright 2020 Alec Penland
3 Copyright 2020 Garret Gartner
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once
20
21#include "config_common.h"
22
23/* USB Device descriptor parameter */
24#define VENDOR_ID 0xAB13
25#define PRODUCT_ID 0x4511
26#define DEVICE_VER 0x0001
27#define MANUFACTURER Abec13
28#define PRODUCT 45ATS
29
30/* key matrix size */
31#define MATRIX_ROWS 4
32#define MATRIX_COLS 14
33
34#define ENCODERS_PAD_A { B4 }
35#define ENCODERS_PAD_B { B5 }
36
37/* key matrix pins */
38#define MATRIX_ROW_PINS { D3, D5, D7, D6 }
39#define MATRIX_COL_PINS { E6, B0, B1, B2, B3, B7, F6, F5, F4, C7, F7, C6, B6, D4 }
40#define UNUSED_PINS
41
42/* COL2ROW or ROW2COL */
43#define DIODE_DIRECTION COL2ROW
44
45/* Set 0 if debouncing isn't needed */
46#define DEBOUNCE 5
47
48/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
49#define LOCKING_SUPPORT_ENABLE
50
51/* Locking resynchronize hack */
52#define LOCKING_RESYNC_ENABLE