summaryrefslogtreecommitdiffstats
path: root/keyboards/atreus/keymaps/replicaJunction/config.h
blob: a02f9a95dbad92be0e81285c29d0cdc0d34c6a7c (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
/* Copyright 2021 Joshua T.
 *
 * 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

// Do not allow one macro to contain the other macro
#define DYNAMIC_MACRO_NO_NESTING

// "THE most important tap hold configuration setting"
// https://precondition.github.io/home-row-mods#ignore-mod-tap-interrupt
// https://docs.qmk.fm/#/tap_hold?id=ignore-mod-tap-interrupt
#define IGNORE_MOD_TAP_INTERRUPT

// This one is a style choice. Play with it both on and off to see which
// one suits you better.
// https://precondition.github.io/home-row-mods#permissive-hold
// https://docs.qmk.fm/#/tap_hold?id=permissive-hold
#define PERMISSIVE_HOLD

// If you press a dual-role key for longer than TAPPING_TERM, then
// release it without pressing another key, without this setting nothing
// would happen. With this setting, it sends the key's tap function.
// https://precondition.github.io/home-row-mods#retro-tapping
#define RETRO_TAPPING

// Disable some unused features to save space
#undef LOCKING_SUPPORT_ENABLE
#undef LOCKING_RESYNC_ENABLE

/////
// Flags for stuff in my userspace

#define USER_INCLUDE_GAMING_LAYER
#define USER_INCLUDE_MACRO_LAYER

// "Super Alt-Tab"
// https://docs.qmk.fm/#/feature_macros?id=super-alt%E2%86%AFtab
#define USER_SUPER_ALT_TAB_TIMEOUT 500