]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/ergodox/keymaps/replicaJunction/config.h
Merged from upstream
[qmk_firmware.git] / keyboards / ergodox / keymaps / replicaJunction / config.h
1 /*
2 Config file - Ergodox QMK with replicaJunction layout
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef KEYBOARDS_ERGODOX_CONFIG_H_
19 #define KEYBOARDS_ERGODOX_CONFIG_H_
20
21 #define MOUSEKEY_DELAY          100
22 #define MOUSEKEY_INTERVAL       20
23 #define MOUSEKEY_MAX_SPEED      3
24 #define MOUSEKEY_TIME_TO_MAX    10
25
26 #define TAPPING_TOGGLE  1
27
28 /* define if matrix has ghost */
29 //#define MATRIX_HAS_GHOST
30
31 // MS the button needs to be held before a tap becomes a hold (default: 200)
32 #define TAPPING_TERM    200
33
34 #define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
35
36 // I don't have any locking keys, so I don't need these features
37
38
39 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
40
41 //#define LOCKING_SUPPORT_ENABLE
42 /* Locking resynchronize hack */
43 //#define LOCKING_RESYNC_ENABLE
44
45 /* Prevent modifiers from sticking when switching layers */
46 /* Uses 5 bytes of memory per 8 keys, but makes sure modifiers don't get "stuck" switching layers */
47 #define PREVENT_STUCK_MODIFIERS
48
49 /* key combination for command */
50 #define IS_COMMAND() ( \
51     keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
52     keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
53 )
54
55 #ifdef SUBPROJECT_ez
56     #include "ez/config.h"
57 #endif
58 #ifdef SUBPROJECT_infinity
59     #include "infinity/config.h"
60 #endif
61
62
63 #endif /* KEYBOARDS_ERGODOX_CONFIG_H_ */