2 This is the c configuration file for the keymap
4 Copyright 2012 Jun Wako <wakojun@gmail.com>
5 Copyright 2015 Jack Humbert
6 Copyright 2017 Art Ortenburger
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.
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.
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/>.
24 /* Use I2C or Serial, not both */
29 /* Select hand configuration */
31 // #define MASTER_LEFT
32 // #define MASTER_RIGHT
35 /* key combination for magic key command */
36 #define IS_COMMAND() ( \
37 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT)) \
40 #ifdef RGBLIGHT_ENABLE
42 #define RGBLED_NUM 16 // Number of LEDs
44 #define RGBLIGHT_HUE_STEP 12
45 #define RGBLIGHT_SAT_STEP 12
46 #define RGBLIGHT_VAL_STEP 12
47 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
48 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
49 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
50 #endif // RGBLIGHT_ENABLE
54 #ifdef RGBLIGHT_ENABLE
60 #ifdef KEYBOARD_orthodox_rev1
61 #define PRODUCT Drashna Hacked Orthodox Rev.1
62 #elif KEYBOARD_orthodox_rev3
63 #define PRODUCT Drashna Hacked Orthodox Rev.3
66 #define QMK_ESC_OUTPUT D7 // usually COL
67 #ifdef KEYBOARD_orthodox_rev1
68 #define QMK_ESC_INPUT D4 // usually ROW
70 #define QMK_ESC_INPUT D2 // usually ROW
73 #define QMK_SPEAKER C6