summaryrefslogtreecommitdiffstats
path: root/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h
diff options
context:
space:
mode:
authorPowered by Porridge <11315349+PoweredByPorridge@users.noreply.github.com>2023-08-16 09:01:11 +0100
committerGitHub <noreply@github.com>2023-08-16 01:01:11 -0700
commit190738c66d184c865f0bb035c49050c3a1e85787 (patch)
treef3e9be6c92a6201fb8cf8d1bd0734e5d76d142d7 /keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h
parentdea2d9476994fad713b3505d034a133b1c467c9f (diff)
The PoweredByPorridge layout for the Keyboardio Atreus (#21737)
Co-authored-by: jack <0x6a73@protonmail.com>
Diffstat (limited to 'keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h')
-rw-r--r--keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h b/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h
new file mode 100644
index 0000000000..0fa53c2d67
--- /dev/null
+++ b/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h
@@ -0,0 +1,45 @@
+/* Copyright 2023 @PoweredByPorridge
+ *
+ * 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
+
+#define AUTO_SHIFT_TIMEOUT 210
+
+#define NO_AUTO_SHIFT_NUMERIC
+// #define NO_AUTO_SHIFT_SPECIAL
+
+// retro shift is auto shift on home row mods
+// I no longer use home row mods, but do find this setting helps
+// avoid 'fat fingered' keypresses.
+
+// If RETRO_SHIFT is defined to a value, hold times greater
+// than that value will not produce a tap on release. This enables
+// modifiers to be held for combining with mouse clicks without
+// generating taps on release.
+#define RETRO_SHIFT 425
+
+// can also be defined without a value
+// #define RETRO_SHIFT
+
+// Configure the global tapping term (default: 200ms)
+// Lower than 210 and I can't tap dance brackets without a run up.
+#define TAPPING_TERM 210
+
+#define TAPPING_TERM_PER_KEY
+
+// Apply the modifier on keys that are tapped during a short hold of a modtap
+// Prevents slurred typing (of home row mods)
+#define PERMISSIVE_HOLD