aboutsummaryrefslogtreecommitdiff
path: root/keyboards/crkbd/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/crkbd/config.h')
-rw-r--r--keyboards/crkbd/config.h76
1 files changed, 76 insertions, 0 deletions
diff --git a/keyboards/crkbd/config.h b/keyboards/crkbd/config.h
new file mode 100644
index 000000000..f354efbb4
--- /dev/null
+++ b/keyboards/crkbd/config.h
@@ -0,0 +1,76 @@
1/*
2Copyright 2019 @foostan
3Copyright 2020 Drashna Jaelre <@drashna>
4
5This program is free software: you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation, either version 2 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along 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 0x4653
25#define PRODUCT_ID 0x0001
26#define DEVICE_VER 0x0001
27#define MANUFACTURER foostan
28#define PRODUCT Corne
29
30/* key matrix size */
31// Rows are doubled-up
32#define MATRIX_ROWS 8
33#define MATRIX_COLS 6
34#define MATRIX_ROW_PINS \
35 { D4, C6, D7, E6 }
36
37// wiring of each half
38#define MATRIX_COL_PINS \
39 { F4, F5, F6, F7, B1, B3 }
40// #define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4 } //uncomment this line and comment line above if you need to reverse left-to-right key order
41
42/* define if matrix has ghost */
43//#define MATRIX_HAS_GHOST
44
45/* number of backlight levels */
46// #define BACKLIGHT_LEVELS 3
47
48/* Set 0 if debouncing isn't needed */
49#define DEBOUNCE 5
50
51/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
52//#define LOCKING_SUPPORT_ENABLE
53/* Locking resynchronize hack */
54//#define LOCKING_RESYNC_ENABLE
55
56/*
57 * Feature disable options
58 * These options are also useful to firmware size reduction.
59 */
60
61/* disable debug print */
62// #define NO_DEBUG
63
64/* disable print */
65// #define NO_PRINT
66
67/* disable action features */
68//#define NO_ACTION_LAYER
69//#define NO_ACTION_TAPPING
70//#define NO_ACTION_ONESHOT
71//#define NO_ACTION_MACRO
72//#define NO_ACTION_FUNCTION
73#define USE_SERIAL
74
75#define NO_ACTION_MACRO
76#define NO_ACTION_FUNCTION