summaryrefslogtreecommitdiff
path: root/common/config.h
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-08-12 22:02:23 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-08-12 22:02:23 +0200
commitf99b284f289ce4e21fab14301295c63666c064c8 (patch)
tree964b88153f274f7ee967c161f6362f12fb7213d7 /common/config.h
parent891baa6442f751ce5c2c241ffe12bf4b8f637ae7 (diff)
share code and add magic layer
Diffstat (limited to 'common/config.h')
-rw-r--r--common/config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/common/config.h b/common/config.h
new file mode 100644
index 0000000..09c6200
--- /dev/null
+++ b/common/config.h
@@ -0,0 +1,39 @@
+/* Copyright 2022 Christoph Cullmann
+ *
+ * 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
+
+// no more than 8 layers
+#define LAYER_STATE_8BIT
+
+// we don't have any lock switches
+#undef LOCKING_SUPPORT_ENABLE
+#undef LOCKING_RESYNC_ENABLE
+
+// enable NKRO by default
+#define FORCE_NKRO
+
+// settings for home row modifiers
+// details see https://precondition.github.io/home-row-mods
+
+// the default of 200
+#define TAPPING_TERM 175
+
+// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
+#define QUICK_TAP_TERM 0
+
+// try to be more permissive with holds
+#define PERMISSIVE_HOLD