]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/orthodox/rev1/config.h
Add user-overridable callback for cancelling UCIS input (#5564)
[qmk_firmware.git] / keyboards / orthodox / rev1 / 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.1
32 #define DESCRIPTION     Oreodox
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
42 //PRO MICRO
43 #define MATRIX_ROW_PINS { D4, B4, B5 }
44 #define MATRIX_COL_PINS { D7, F4, F5, F6, F7, B1, B3, B2, B6 }
45 //#define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4, D7 }
46
47
48 /* COL2ROW or ROW2COL */
49 #define DIODE_DIRECTION COL2ROW
50
51 #define SOFT_SERIAL_PIN D0
52
53 /* define if matrix has ghost */
54 //#define MATRIX_HAS_GHOST
55
56 /* number of backlight levels */
57 // #define BACKLIGHT_LEVELS 3
58
59 /* Set 0 if debouncing isn't needed */
60 #define DEBOUNCE 5
61
62 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
63 // #define LOCKING_SUPPORT_ENABLE
64 /* Locking resynchronize hack */
65 // #define LOCKING_RESYNC_ENABLE
66
67 /* key combination for command */
68 #define IS_COMMAND() ( \
69     get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LGUI)) \
70 )
71
72 /* ws2812 RGB LED */
73 //#define RGB_DI_PIN D3
74 //#define RGBLED_NUM 16    // Number of LEDs
75
76 /*
77  * Feature disable options
78  *  These options are also useful to firmware size reduction.
79  */
80
81 /* disable debug print */
82 // #define NO_DEBUG
83
84 /* disable print */
85 // #define NO_PRINT
86
87 /* disable action features */
88 //#define NO_ACTION_LAYER
89 //#define NO_ACTION_TAPPING
90 //#define NO_ACTION_ONESHOT
91 //#define NO_ACTION_MACRO
92 //#define NO_ACTION_FUNCTION