]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/orthodox/rev3/config.h
53e5b15ae8217df2a62cf6f9a659809405b4e819
[qmk_firmware.git] / keyboards / orthodox / rev3 / config.h
1 /*
2 This is the c configuration file for the subproject
3
4 Copyright 2012 Jun Wako <wakojun@gmail.com>
5 Copyright 2015 Jack Humbert
6 Copyright 2017 Art Ortenburger
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
22 #pragma once
23
24 #include "config_common.h"
25
26 /* USB Device descriptor parameter */
27 #define VENDOR_ID       0xFEED
28 #define PRODUCT_ID      0x3060
29 #define DEVICE_VER      0x0001
30 #define MANUFACTURER    deductivemonkee
31 #define PRODUCT         Monkeebs Orthodox Rev.3
32 #define DESCRIPTION     Bananadox
33
34 /* key matrix size */
35 // Rows are doubled-up
36 #define MATRIX_ROWS 6
37 #define MATRIX_COLS 9
38
39 // wiring of each half
40
41 //REV.3 PRO MICRO
42 #define MATRIX_ROW_PINS { D2, B4, B5, }
43 #define MATRIX_COL_PINS { D7, F4, F5, B6, B2, B3, B1, F7, F6 }
44
45 /*/
46 //REV.3 TEENSY
47 #define MATRIX_ROW_PINS { B0, C6, C7, }
48 #define MATRIX_COL_PINS { D2, F5, F6, D6, D7, B4, B5, B6, F7 }
49 /*/
50
51 #define CATERINA_BOOTLOADER
52
53 /* COL2ROW or ROW2COL */
54 #define DIODE_DIRECTION COL2ROW
55
56 #define SOFT_SERIAL_PIN D0
57
58 /* define if matrix has ghost */
59 //#define MATRIX_HAS_GHOST
60
61 /* number of backlight levels */
62 // #define BACKLIGHT_LEVELS 3
63
64 /* Set 0 if debouncing isn't needed */
65 #define DEBOUNCING_DELAY 5
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 /* key combination for command */
73 #define IS_COMMAND() ( \
74     get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LGUI)) \
75 )
76
77 /* ws2812 RGB LED */
78 //#define RGB_DI_PIN D3
79
80 //#define RGBLED_NUM 16    // Number of LEDs
81
82 /*
83  * Feature disable options
84  *  These options are also useful to firmware size reduction.
85  */
86
87 /* disable debug print */
88 // #define NO_DEBUG
89
90 /* disable print */
91 // #define NO_PRINT
92
93 /* disable action features */
94 //#define NO_ACTION_LAYER
95 //#define NO_ACTION_TAPPING
96 //#define NO_ACTION_ONESHOT
97 //#define NO_ACTION_MACRO
98 //#define NO_ACTION_FUNCTION