Commit | Line | Data |
---|---|---|
43579a80 | 1 | /* |
61ef9495 JH |
2 | This is the c configuration file for the subproject |
3 | ||
43579a80 | 4 | Copyright 2012 Jun Wako <wakojun@gmail.com> |
61ef9495 JH |
5 | Copyright 2015 Jack Humbert |
6 | Copyright 2017 Art Ortenburger | |
43579a80 AO |
7 | |
8 | This program is free software: you can redistribute it and/or modify | |
9 | it under the terms of the GNU General Public License as published by | |
10 | the Free Software Foundation, either version 2 of the License, or | |
11 | (at your option) any later version. | |
12 | ||
13 | This program is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | */ | |
21 | ||
663d3906 JH |
22 | #ifndef REV1_CONFIG_H |
23 | #define REV1_CONFIG_H | |
43579a80 | 24 | |
800ec55d | 25 | #include "config_common.h" |
43579a80 AO |
26 | |
27 | /* USB Device descriptor parameter */ | |
28 | #define VENDOR_ID 0xFEED | |
29 | #define PRODUCT_ID 0x3060 | |
30 | #define DEVICE_VER 0x0001 | |
31 | #define MANUFACTURER deductivemonkee | |
32 | #define PRODUCT Monkeebs Orthodox Rev.1 | |
33 | #define DESCRIPTION Oreodox | |
34 | ||
35 | /* key matrix size */ | |
36 | // Rows are doubled-up | |
37 | #define MATRIX_ROWS 6 | |
38 | #define MATRIX_COLS 9 | |
39 | ||
40 | // wiring of each half | |
41 | ||
42 | ||
43 | //PRO MICRO | |
44 | #define MATRIX_ROW_PINS { D4, B4, B5 } | |
45 | #define MATRIX_COL_PINS { D7, F4, F5, F6, F7, B1, B3, B2, B6 } | |
46 | //#define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4, D7 } | |
47 | ||
48 | /*/ | |
49 | //TEENSY | |
50 | #define MATRIX_ROW_PINS { D0, C6, C7, } | |
51 | #define MATRIX_COL_PINS { D2, F5, F6, F7, B6, B5, B4, D7, D6 } | |
52 | /*/ | |
53 | ||
54 | #define CATERINA_BOOTLOADER | |
55 | ||
56 | /* COL2ROW or ROW2COL */ | |
57 | #define DIODE_DIRECTION COL2ROW | |
58 | ||
59 | /* define if matrix has ghost */ | |
60 | //#define MATRIX_HAS_GHOST | |
61 | ||
62 | /* number of backlight levels */ | |
63 | // #define BACKLIGHT_LEVELS 3 | |
64 | ||
65 | /* Set 0 if debouncing isn't needed */ | |
66 | #define DEBOUNCING_DELAY 5 | |
67 | ||
68 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | |
69 | // #define LOCKING_SUPPORT_ENABLE | |
70 | /* Locking resynchronize hack */ | |
71 | // #define LOCKING_RESYNC_ENABLE | |
72 | ||
73 | /* key combination for command */ | |
74 | #define IS_COMMAND() ( \ | |
75 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | |
76 | ) | |
77 | ||
78 | /* ws2812 RGB LED */ | |
79 | //#define RGB_DI_PIN D3 | |
80 | //#define RGBLIGHT_TIMER | |
81 | //#define RGBLED_NUM 16 // Number of LEDs | |
82 | //#define ws2812_PORTREG PORTD | |
83 | //#define ws2812_DDRREG DDRD | |
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 | #endif |