summaryrefslogtreecommitdiff
path: root/keyboards/keebio/iris/keymaps/emp/config.h
blob: 0aa25a88bc6efeac56aede6c99f4d9a7eb1336c4 (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
/*
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

#undef USE_I2C

/* 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

/* 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