aboutsummaryrefslogtreecommitdiff
path: root/keyboards/minim/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/minim/config.h')
-rw-r--r--keyboards/minim/config.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/keyboards/minim/config.h b/keyboards/minim/config.h
new file mode 100644
index 000000000..e13d2b798
--- /dev/null
+++ b/keyboards/minim/config.h
@@ -0,0 +1,63 @@
1/*
2Copyright 2020 Matthew Dias <matthewdias@me.com>
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
23/* USB Device descriptor parameter */
24#define VENDOR_ID 0xFEED
25#define PRODUCT_ID 0xAAAA
26#define DEVICE_VER 0x0001
27#define MANUFACTURER Matthew Dias
28#define PRODUCT minim
29
30/* key matrix size */
31#define MATRIX_ROWS 4
32#define MATRIX_COLS 14
33
34/* minim PCB default pin-out */
35#define MATRIX_ROW_PINS { D6, D7, B4, B5 }
36#define MATRIX_COL_PINS { F4, F5, F6, F1, F7, F0, B0, D1, B1, D2, B2, D3, D5, B3 }
37#define UNUSED_PINS
38
39/* COL2ROW or ROW2COL */
40#define DIODE_DIRECTION COL2ROW
41
42/* Set 0 if debouncing isn't needed */
43#define DEBOUNCE 5
44
45/*
46 * Feature disable options
47 * These options are also useful to firmware size reduction.
48 */
49
50/* disable debug print */
51//#define NO_DEBUG
52
53/* disable print */
54//#define NO_PRINT
55
56/* disable action features */
57//#define NO_ACTION_LAYER
58//#define NO_ACTION_TAPPING
59//#define NO_ACTION_ONESHOT
60
61/* disable these deprecated features by default */
62#define NO_ACTION_MACRO
63#define NO_ACTION_FUNCTION