]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/orthodox/keymaps/drashna/config.h
Updated personal keymaps (#1945)
[qmk_firmware.git] / keyboards / orthodox / keymaps / drashna / config.h
1 /*
2 This is the c configuration file for the keymap
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 #ifndef CONFIG_USER_H
23 #define CONFIG_USER_H
24
25 #include "config_common.h"
26
27 /* Use I2C or Serial, not both */
28
29 #define USE_SERIAL
30 // #define USE_I2C
31
32 /* Select hand configuration */
33
34 // #define MASTER_LEFT
35 // #define MASTER_RIGHT
36 #define EE_HANDS
37
38 #ifndef TAPPING_TERM
39 #define TAPPING_TERM 200
40 #endif
41
42
43 /* key combination for command */
44 #ifdef IS_COMMAND
45 #undef IS_COMMAND
46 #endif
47 #define IS_COMMAND() ( \
48     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT)) \
49 )
50
51
52 #ifdef RGBLIGHT_ENABLE
53 #define RGB_DI_PIN D3
54 #define RGBLED_NUM 16     // Number of LEDs
55 #define RGBLIGHT_ANIMATIONS
56 #define RGBLIGHT_HUE_STEP 12
57 #define RGBLIGHT_SAT_STEP 12
58 #define RGBLIGHT_VAL_STEP 12
59 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
60 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
61 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
62 #endif // RGBLIGHT_ENABLE
63
64
65 #endif