diff options
Diffstat (limited to 'keyboards/handwired/brain/config.h')
-rw-r--r-- | keyboards/handwired/brain/config.h | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/keyboards/handwired/brain/config.h b/keyboards/handwired/brain/config.h new file mode 100644 index 000000000..3779cfb9c --- /dev/null +++ b/keyboards/handwired/brain/config.h | |||
@@ -0,0 +1,111 @@ | |||
1 | /* | ||
2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
3 | Copyright 2015 Jack Humbert | ||
4 | Copyright 2020 James Smith <bronzegears@gmail.com> @klackygears | ||
5 | |||
6 | |||
7 | This program is free software: you can redistribute it and/or modify | ||
8 | it under the terms of the GNU General Public License as published by | ||
9 | the Free Software Foundation, either version 2 of the License, or | ||
10 | (at your option) any later version. | ||
11 | |||
12 | This program is distributed in the hope that it will be useful, | ||
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | GNU General Public License for more details. | ||
16 | |||
17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | ||
20 | |||
21 | #pragma once | ||
22 | |||
23 | #include "config_common.h" | ||
24 | /* USB Device descriptor parameter */ | ||
25 | #define VENDOR_ID 0x4A53 | ||
26 | #define PRODUCT_ID 0x0001 | ||
27 | #define DEVICE_VER 0x0001 | ||
28 | #define MANUFACTURER klackygears | ||
29 | #define PRODUCT Brain | ||
30 | #define DESCRIPTION A split ergonomic keyboard with sculpted shell | ||
31 | |||
32 | #define SPLIT_USB_DETECT | ||
33 | |||
34 | /* key matrix size */ | ||
35 | // Rows are doubled-up | ||
36 | #define MATRIX_ROWS 10 | ||
37 | #define MATRIX_COLS 7 | ||
38 | |||
39 | // wiring of each half | ||
40 | |||
41 | #define MATRIX_COL_PINS \ | ||
42 | { D1, D4, C6, D7, E6, B4, B5 } | ||
43 | #define MATRIX_ROW_PINS \ | ||
44 | { F4, F5, F6, F7, B1 } | ||
45 | |||
46 | #define MATRIX_COL_PINS_RIGHT \ | ||
47 | { B5, B4, E6, D7, C6, D4, D1 } | ||
48 | |||
49 | #define DIODE_DIRECTION COL2ROW | ||
50 | |||
51 | /* mouse config */ | ||
52 | #define MOUSEKEY_INTERVAL 20 | ||
53 | #define MOUSEKEY_DELAY 0 | ||
54 | #define MOUSEKEY_TIME_TO_MAX 60 | ||
55 | #define MOUSEKEY_MAX_SPEED 7 | ||
56 | #define MOUSEKEY_WHEEL_DELAY 0 | ||
57 | |||
58 | /* Set 0 if debouncing isn't needed */ | ||
59 | |||
60 | |||
61 | /* serial.c configuration for split keyboard */ | ||
62 | #define SOFT_SERIAL_PIN D0 | ||
63 | #define EE_HANDS | ||
64 | |||
65 | //#define SPLIT_HAND_PIN B7 | ||
66 | |||
67 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
68 | #define LOCKING_SUPPORT_ENABLE | ||
69 | /* Locking resynchronize hack */ | ||
70 | #define LOCKING_RESYNC_ENABLE | ||
71 | |||
72 | /* Enables This makes it easier for fast typists to use dual-function keys */ | ||
73 | #define PERMISSIVE_HOLD | ||
74 | |||
75 | /* ws2812 RGB LED */ | ||
76 | #define RGB_DI_PIN D3 | ||
77 | |||
78 | #define RGBLED_NUM 28 // Number of LEDs | ||
79 | |||
80 | |||
81 | #define RGBLIGHT_LIMIT_VAL 120 | ||
82 | |||
83 | #define RGBLIGHT_SPLIT | ||
84 | |||
85 | /* | ||
86 | * Feature disable options | ||
87 | * These options are also useful to firmware size reduction. | ||
88 | */ | ||
89 | |||
90 | /* disable debug print */ | ||
91 | // #define NO_DEBUG | ||
92 | |||
93 | /* disable print */ | ||
94 | // #define NO_PRINT | ||
95 | |||
96 | /* disable action features */ | ||
97 | //#define NO_ACTION_LAYER | ||
98 | //#define NO_ACTION_TAPPING | ||
99 | //#define NO_ACTION_ONESHOT | ||
100 | //#define NO_ACTION_MACRO | ||
101 | //#define NO_ACTION_FUNCTION | ||
102 | |||
103 | //#define PREVENT_STUCK_MODIFIERS | ||
104 | //#define TAPPING_TERM 150 | ||
105 | //#define IGNORE_MOD_TAP_INTERRUPT | ||
106 | //#define TAPPING_FORCE_HOLD | ||
107 | |||
108 | #define BOOTMAGIC_LITE_ROW 0 | ||
109 | #define BOOTMAGIC_LITE_COLUMN 6 | ||
110 | #define BOOTMAGIC_LITE_ROW_RIGHT 5 | ||
111 | #define BOOTMAGIC_LITE_COLUMN_RIGHT 0 | ||