diff options
author | cole smith <38364556+daysgobye@users.noreply.github.com> | 2020-08-18 13:46:09 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-18 12:46:09 -0700 |
commit | c0df341f5c0db7217838dfb994ccbb6bd2d075fe (patch) | |
tree | 6a2a6b4bf3f3644d04b214334729e414c836753b /keyboards/boardsource/microdox/config.h | |
parent | 186b1b2ba2550d9a7a864a241e8f9503c37f188b (diff) | |
download | qmk_firmware-c0df341f5c0db7217838dfb994ccbb6bd2d075fe.tar.gz qmk_firmware-c0df341f5c0db7217838dfb994ccbb6bd2d075fe.zip |
[Keyboard] Boardsource Microdox (#9971)
* microdox keyboard workidng
* updated readme
* cleaned up for pr
* Apply suggestions from code review
* Apply suggestions from code review
* added license headers
* Update keyboards/boardsource/microdox/keymaps/default/keymap.c
* Update keyboards/boardsource/microdox/rules.mk
* Update keyboards/boardsource/microdox/rules.mk
* Update keyboards/boardsource/microdox/rules.mk
Diffstat (limited to 'keyboards/boardsource/microdox/config.h')
-rw-r--r-- | keyboards/boardsource/microdox/config.h | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/keyboards/boardsource/microdox/config.h b/keyboards/boardsource/microdox/config.h new file mode 100644 index 000000000..65af0f16d --- /dev/null +++ b/keyboards/boardsource/microdox/config.h | |||
@@ -0,0 +1,80 @@ | |||
1 | /* | ||
2 | Copyright 2020 Cole Smith <cole@boadsource.xyz> | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | #define VENDOR_ID 0xF7E0 | ||
23 | #define PRODUCT_ID 0x0412 | ||
24 | #define DEVICE_VER 0x0000 | ||
25 | #define MANUFACTURER Boardsource | ||
26 | #define PRODUCT microdox | ||
27 | |||
28 | /* key matrix size */ | ||
29 | // Rows are doubled-up | ||
30 | #define MATRIX_ROWS 8 | ||
31 | #define MATRIX_COLS 5 | ||
32 | #define MATRIX_ROW_PINS { B2, B6, B4, B5 } | ||
33 | |||
34 | // wiring of each half | ||
35 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1 } | ||
36 | #define USE_SERIAL | ||
37 | #define SOFT_SERIAL_PIN D2 | ||
38 | /* define if matrix has ghost */ | ||
39 | //#define MATRIX_HAS_GHOST | ||
40 | |||
41 | /* number of backlight levels */ | ||
42 | // #define BACKLIGHT_LEVELS 3 | ||
43 | |||
44 | /* Set 0 if debouncing isn't needed */ | ||
45 | #define DEBOUNCE 5 | ||
46 | |||
47 | /* COL2ROW, ROW2COL*/ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
51 | //#define LOCKING_SUPPORT_ENABLE | ||
52 | /* Locking resynchronize hack */ | ||
53 | //#define LOCKING_RESYNC_ENABLE | ||
54 | |||
55 | /* ws2812 RGB LED */ | ||
56 | #define RGBLIGHT_ANIMATIONS | ||
57 | #define RGB_DI_PIN D3 | ||
58 | #define RGBLED_SPLIT { 6, 6 } | ||
59 | #define EE_HANDS | ||
60 | #ifdef RGBLIGHT_ENABLE | ||
61 | #define RGBLED_NUM 12 // Number of LEDs | ||
62 | #endif | ||
63 | |||
64 | /* | ||
65 | * Feature disable options | ||
66 | * These options are also useful to firmware size reduction. | ||
67 | */ | ||
68 | |||
69 | /* disable debug print */ | ||
70 | // #define NO_DEBUG | ||
71 | |||
72 | /* disable print */ | ||
73 | // #define NO_PRINT | ||
74 | |||
75 | /* disable action features */ | ||
76 | //#define NO_ACTION_LAYER | ||
77 | //#define NO_ACTION_TAPPING | ||
78 | //#define NO_ACTION_ONESHOT | ||
79 | //#define NO_ACTION_MACRO | ||
80 | //#define NO_ACTION_FUNCTION \ No newline at end of file | ||