summaryrefslogtreecommitdiff
path: root/layouts/community/ergodox/zweihander-macos/config.h
diff options
context:
space:
mode:
authoradiabatic <adiabatic@users.noreply.github.com>2023-01-16 00:48:41 -0800
committerGitHub <noreply@github.com>2023-01-16 00:48:41 -0800
commit4f83b673bdfd9d8a282255f8939d3a93657fe282 (patch)
tree659d8a131f74d8bc1bf656d383d98e8b8da015a4 /layouts/community/ergodox/zweihander-macos/config.h
parentfe27e46e6da0ffb58b58578ba96646fdeb0742a7 (diff)
[Keymap] Improve Zweihander layout for the Ergodox EZ (#18737)
Diffstat (limited to 'layouts/community/ergodox/zweihander-macos/config.h')
-rw-r--r--layouts/community/ergodox/zweihander-macos/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/community/ergodox/zweihander-macos/config.h b/layouts/community/ergodox/zweihander-macos/config.h
new file mode 100644
index 0000000000..5f414d86e7
--- /dev/null
+++ b/layouts/community/ergodox/zweihander-macos/config.h
@@ -0,0 +1,14 @@
+/*
+ Set any config.h overrides for your specific keymap here.
+ See config.h options at https://docs.qmk.fm/#/config_options?id=the-configh-file
+*/
+
+#pragma once
+// 15, the default, is too low for Kailh Coppers. I get lots of double presses.
+// (ba-dum tish)
+// #undef DEBOUNCE
+// #define DEBOUNCE 22
+
+// Reduce USB power consumption to 100 mA to make it work with a Lightning to USB 3 Camera Adapter (MK0W2AM/A). ZSA says 100 mA is high enough for the keyboard if you disable the big Shine/Glow LEDs first.
+#undef USB_MAX_POWER_CONSUMPTION
+#define USB_MAX_POWER_CONSUMPTION 100