aboutsummaryrefslogtreecommitdiff
path: root/keyboards/splitty/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/splitty/config.h')
-rw-r--r--keyboards/splitty/config.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/keyboards/splitty/config.h b/keyboards/splitty/config.h
new file mode 100644
index 000000000..3f0a8b9b2
--- /dev/null
+++ b/keyboards/splitty/config.h
@@ -0,0 +1,66 @@
1/*
2Copyright 2018 Nicolas Schodet
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0x1D50
24#define PRODUCT_ID 0x6052
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Nicolas Schodet
27#define PRODUCT Splitty
28
29/* key matrix size */
30#define MATRIX_ROWS 10
31#define MATRIX_COLS 7
32
33/* Keyboard Matrix Assignments */
34#define MATRIX_ROW_PINS \
35 { F0, F1, D4, D5, D6 }
36#define MATRIX_COL_PINS \
37 { B0, B1, B2, B3, B4, B5, B6 }
38#define DIODE_DIRECTION COL2ROW
39
40/* Split Keyboard specific options. */
41#define USE_I2C
42#define EE_HANDS
43#define SPLIT_USB_DETECT
44
45/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
46#define DEBOUNCE 5
47
48/*
49 * Feature disable options
50 * These options are also useful to firmware size reduction.
51 */
52
53/* disable debug print */
54//#define NO_DEBUG
55
56/* disable print */
57//#define NO_PRINT
58
59/* disable action features */
60//#define NO_ACTION_LAYER
61//#define NO_ACTION_TAPPING
62//#define NO_ACTION_ONESHOT
63
64/* disable these deprecated features by default */
65#define NO_ACTION_MACRO
66#define NO_ACTION_FUNCTION