]> git.donarmstrong.com Git - qmk_firmware.git/blob - users/yet-another-developer/config.h
[Keymap] Ergodash keymap for yet-another-developer (#7046)
[qmk_firmware.git] / users / yet-another-developer / config.h
1 #pragma once
2
3 /* Set Polling rate to 1000Hz */
4 #define USB_POLLING_INTERVAL_MS 1
5
6 #ifndef ONESHOT_TAP_TOGGLE
7     #define ONESHOT_TAP_TOGGLE 2
8 #endif  // !ONESHOT_TAP_TOGGLE
9
10 #ifndef ONESHOT_TIMEOUT
11     #define ONESHOT_TIMEOUT 2000
12 #endif  // !ONESHOT_TIMEOUT
13
14 #ifndef QMK_KEYS_PER_SCAN
15   #define QMK_KEYS_PER_SCAN 4
16 #endif // !QMK_KEYS_PER_SCAN
17
18 #if defined(LEADER_ENABLE)
19   #define LEADER_PER_KEY_TIMING
20   #define LEADER_TIMEOUT 250
21 #endif // !LEADER_ENABLE
22
23 #if defined(COMBO_ENABLE)
24   #define COMBO_COUNT 4
25   #define COMBO_TERM 150
26 #endif // !COMBO_ENABLE
27
28 #if defined(NKRO_ENABLE)
29   #define FORCE_NKRO
30 #endif // !NKRO_ENABLE
31
32 // this makes it possible to do rolling combos (zx) with keys that
33 // convert to other keys on hold (z becomes ctrl when you hold it,
34 // and when this option isn't enabled, z rapidly followed by x
35 // actually sends Ctrl-x. That's bad.)
36 #define IGNORE_MOD_TAP_INTERRUPT
37 #undef PERMISSIVE_HOLD
38 //#define TAPPING_FORCE_HOLD
39 //#define RETRO_TAPPING
40
41 #ifndef TAPPING_TOGGLE
42   #define TAPPING_TOGGLE  1
43 #endif
44
45 #ifdef TAPPING_TERM
46 #  undef TAPPING_TERM
47 #endif  // !TAPPING_TERM
48 #if defined(KEYBOARD_ergodash)
49     #define TAPPING_TERM 240
50 #else
51     #define TAPPING_TERM 200
52 #endif
53
54 #define TAP_CODE_DELAY 5 //DEFAULT: 100
55
56 #define MACRO_TIMER 5