summaryrefslogtreecommitdiff
path: root/keyboards/atreus/keymaps/replicaJunction/config.h
diff options
context:
space:
mode:
authorJoshua T <replicaJunction@users.noreply.github.com>2021-08-13 20:14:21 -0500
committerGitHub <noreply@github.com>2021-08-13 18:14:21 -0700
commitade989962af613b24687f20f54e2dd0e37240216 (patch)
tree7e6e53b4c4151270f465ca16fc4eeb5270a7870d /keyboards/atreus/keymaps/replicaJunction/config.h
parent424b9ff7090d8407bd6bc56ff42afff05acecb12 (diff)
downloadqmk_firmware-ade989962af613b24687f20f54e2dd0e37240216.tar.gz
qmk_firmware-ade989962af613b24687f20f54e2dd0e37240216.zip
[Keymap] clean up userspace, add XD75 / Keyboardio Atreus (#13121)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/atreus/keymaps/replicaJunction/config.h')
-rw-r--r--keyboards/atreus/keymaps/replicaJunction/config.h56
1 files changed, 48 insertions, 8 deletions
diff --git a/keyboards/atreus/keymaps/replicaJunction/config.h b/keyboards/atreus/keymaps/replicaJunction/config.h
index 8e786aa0da..a02f9a95db 100644
--- a/keyboards/atreus/keymaps/replicaJunction/config.h
+++ b/keyboards/atreus/keymaps/replicaJunction/config.h
@@ -1,11 +1,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
-// Layer definitions
+// 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
-#define L_COLEMAK 0
-#define L_NUM 1
-#define L_EXTEND 2
-#define L_FUNC 3
-#define L_LL_R 4
-#define L_LL_E 5
-#define L_LL_I 6
+// "Super Alt-Tab"
+// https://docs.qmk.fm/#/feature_macros?id=super-alt%E2%86%AFtab
+#define USER_SUPER_ALT_TAB_TIMEOUT 500