aboutsummaryrefslogtreecommitdiff
path: root/keyboards/orthodox/rev3_teensy/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/orthodox/rev3_teensy/config.h')
-rw-r--r--keyboards/orthodox/rev3_teensy/config.h93
1 files changed, 93 insertions, 0 deletions
diff --git a/keyboards/orthodox/rev3_teensy/config.h b/keyboards/orthodox/rev3_teensy/config.h
new file mode 100644
index 000000000..daba627fa
--- /dev/null
+++ b/keyboards/orthodox/rev3_teensy/config.h
@@ -0,0 +1,93 @@
1/*
2This is the c configuration file for the subproject
3
4Copyright 2012 Jun Wako <wakojun@gmail.com>
5Copyright 2015 Jack Humbert
6Copyright 2017 Art Ortenburger
7
8This program is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 2 of the License, or
11(at your option) any later version.
12
13This program is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with this program. If not, see <http://www.gnu.org/licenses/>.
20*/
21
22#ifndef REV3_TEENSY_CONFIG_H
23#define REV3_TEENSY_CONFIG_H
24
25#include "config_common.h"
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.3 (Teensy)
33#define DESCRIPTION Bananadox
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//REV.3 TEENSY
43#define MATRIX_ROW_PINS { B0, C6, C7, }
44#define MATRIX_COL_PINS { D2, F5, F6, D6, D7, B4, B5, B6, F7 }
45
46/* COL2ROW or ROW2COL */
47#define DIODE_DIRECTION COL2ROW
48
49/* define if matrix has ghost */
50//#define MATRIX_HAS_GHOST
51
52/* number of backlight levels */
53// #define BACKLIGHT_LEVELS 3
54
55/* Set 0 if debouncing isn't needed */
56#define DEBOUNCING_DELAY 5
57
58/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
59// #define LOCKING_SUPPORT_ENABLE
60/* Locking resynchronize hack */
61// #define LOCKING_RESYNC_ENABLE
62
63/* key combination for command */
64#define IS_COMMAND() ( \
65 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LGUI)) \
66)
67
68/* ws2812 RGB LED */
69//#define RGB_DI_PIN D3
70//#define RGBLIGHT_TIMER
71//#define RGBLED_NUM 16 // Number of LEDs
72//#define ws2812_PORTREG PORTD
73//#define ws2812_DDRREG DDRD
74
75/*
76 * Feature disable options
77 * These options are also useful to firmware size reduction.
78 */
79
80/* disable debug print */
81// #define NO_DEBUG
82
83/* disable print */
84// #define NO_PRINT
85
86/* disable action features */
87//#define NO_ACTION_LAYER
88//#define NO_ACTION_TAPPING
89//#define NO_ACTION_ONESHOT
90//#define NO_ACTION_MACRO
91//#define NO_ACTION_FUNCTION
92
93#endif