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