aboutsummaryrefslogtreecommitdiff
path: root/keyboards/orthodox/rev1/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/orthodox/rev1/config.h')
-rw-r--r--keyboards/orthodox/rev1/config.h99
1 files changed, 99 insertions, 0 deletions
diff --git a/keyboards/orthodox/rev1/config.h b/keyboards/orthodox/rev1/config.h
new file mode 100644
index 000000000..46bb99440
--- /dev/null
+++ b/keyboards/orthodox/rev1/config.h
@@ -0,0 +1,99 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#ifndef CONFIG_H
19#define CONFIG_H
20
21#include "config_common.h"
22
23/* USB Device descriptor parameter */
24#define VENDOR_ID 0xFEED
25#define PRODUCT_ID 0x3060
26#define DEVICE_VER 0x0001
27#define MANUFACTURER deductivemonkee
28#define PRODUCT Monkeebs Orthodox Rev.1
29#define DESCRIPTION Oreodox
30
31/* key matrix size */
32// Rows are doubled-up
33#define MATRIX_ROWS 6
34#define MATRIX_COLS 9
35
36// wiring of each half
37
38
39//PRO MICRO
40#define MATRIX_ROW_PINS { D4, B4, B5 }
41#define MATRIX_COL_PINS { D7, F4, F5, F6, F7, B1, B3, B2, B6 }
42//#define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4, D7 }
43
44/*/
45//TEENSY
46#define MATRIX_ROW_PINS { D0, C6, C7, }
47#define MATRIX_COL_PINS { D2, F5, F6, F7, B6, B5, B4, D7, D6 }
48/*/
49
50#define CATERINA_BOOTLOADER
51
52/* COL2ROW or ROW2COL */
53#define DIODE_DIRECTION COL2ROW
54
55/* define if matrix has ghost */
56//#define MATRIX_HAS_GHOST
57
58/* number of backlight levels */
59// #define BACKLIGHT_LEVELS 3
60
61/* Set 0 if debouncing isn't needed */
62#define DEBOUNCING_DELAY 5
63
64/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
65// #define LOCKING_SUPPORT_ENABLE
66/* Locking resynchronize hack */
67// #define LOCKING_RESYNC_ENABLE
68
69/* key combination for command */
70#define IS_COMMAND() ( \
71 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
72)
73
74/* ws2812 RGB LED */
75//#define RGB_DI_PIN D3
76//#define RGBLIGHT_TIMER
77//#define RGBLED_NUM 16 // Number of LEDs
78//#define ws2812_PORTREG PORTD
79//#define ws2812_DDRREG DDRD
80
81/*
82 * Feature disable options
83 * These options are also useful to firmware size reduction.
84 */
85
86/* disable debug print */
87// #define NO_DEBUG
88
89/* disable print */
90// #define NO_PRINT
91
92/* disable action features */
93//#define NO_ACTION_LAYER
94//#define NO_ACTION_TAPPING
95//#define NO_ACTION_ONESHOT
96//#define NO_ACTION_MACRO
97//#define NO_ACTION_FUNCTION
98
99#endif