summaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/iris/keymaps/emp/config.h
blob: a08db4d170e7129a4a5497eb5430ccaf949fd5f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*
Copyright 2017 Danny Nguyen <danny@keeb.io>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

/* Use I2C or Serial, not both */
#undef USE_I2C
#define USE_SERIAL

/* Select hand configuration */
#undef MASTER_LEFT
#undef MASTER_RIGHT
#define EE_HANDS

/* disable debugging features */
#ifndef NO_DEBUG
#define NO_DEBUG
#endif // #ifndef NO_DEBUG

/* disable printing features */
#ifndef NO_PRINT
#define NO_PRINT
#endif // #ifndef NO_PRINT

/* force n-key rollover to be enabled every boot */
#undef FORCE_NKRO

/* disable tap dance and other tapping features */
#undef NO_ACTION_TAPPING

/* disable one-shot modifiers */
#undef NO_ACTION_ONESHOT

/* PERMISSIVE_HOLD
 * when on: tap-hold keys are held when typed fast, so long as the modifier key
 *          is pressed before and released after the rodified key(s)
 * when off: tap-hold keys are both tapped when typed fast (within tapping term)
 */
#undef PERMISSIVE_HOLD

/* IGNORE_MOD_TAP_INTERRUPT
 * when on: rolling tap-hold keys taps all keys
 * when off: rolling tap-hold keys modifies keys
*/
#undef IGNORE_MOD_TAP_INTERRUPT

/* TAPPING_TERM x (ms)
 * how long before a tap becomes a hold. if set above 500, a key tapped during
 * the tapping term will turn it into a hold too
 */
#define TAPPING_TERM 200

/* TAPPING_TOGGLE x (count)
 * If you hold a TT key down, layer is activated, and then is de-activated when
 * you let go (like MO()). If you repeatedly tap it, the layer will be toggled
 * on or off (like TG()). It needs 5 taps by default, but you can change this by
 * defining TAPPING_TOGGLE to another number.
 */
// #define TAPPING_TOGGLE 1

/* RETRO_TAPPING
 * tap anyway, even after TAPPING_TERM, if there was no other key interruption
 * between press and release
 */
#undef RETRO_TAPPING

/* ONESHOT_TIMEOUT x (ms)
 * how long before oneshot times out
 */
// #define ONESHOT_TIMEOUT 2000

/* TAP_CODE_DELAY x (ms)
 * how long tapped keycodes are held down for
 */
// #define TAP_CODE_DELAY 100

/* NO_USB_STARTUP_CHECK
 * according to:
 * https://github.com/qmk/qmk_firmware/issues/12732
 * defining this can help with boards not being recognized by virtual keymapping
 * software
 */
#define NO_USB_STARTUP_CHECK