summaryrefslogtreecommitdiff
path: root/keyboards/buzzard/keymaps/crehmann/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-01-10 10:34:22 +0000
committerQMK Bot <hello@qmk.fm>2022-01-10 10:34:22 +0000
commitb4b636112ed1318c14244529c5330ee24f597e47 (patch)
tree4f5d56ceadbb86fa766392c6ec50d767683562d7 /keyboards/buzzard/keymaps/crehmann/config.h
parent5491385f3dc3c357ffd86a0cd6e0c3c2ec662e65 (diff)
parent2e19d0d7d14fef69d583886c244d3c67b3c0cc3d (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/buzzard/keymaps/crehmann/config.h')
-rw-r--r--keyboards/buzzard/keymaps/crehmann/config.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/keyboards/buzzard/keymaps/crehmann/config.h b/keyboards/buzzard/keymaps/crehmann/config.h
new file mode 100644
index 0000000000..d5d9a9bb83
--- /dev/null
+++ b/keyboards/buzzard/keymaps/crehmann/config.h
@@ -0,0 +1,38 @@
+// Copyright 2021 Christoph Rehmann (crehmann)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+// Configure the global tapping term (default: 200ms)
+#define TAPPING_TERM 200
+
+// Prevent normal rollover on alphas from accidentally triggering mods.
+#define IGNORE_MOD_TAP_INTERRUPT
+
+// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
+#define TAPPING_FORCE_HOLD
+
+// Apply the modifier on keys that are tapped during a short hold of a modtap
+#define PERMISSIVE_HOLD
+
+// Using the right side as master
+#define MASTER_RIGHT
+
+#ifdef HAPTIC_ENABLE
+// this configuration has no effect because the haptic exclusion is implemented with
+// __attribute__((weak)) bool get_haptic_enabled_key(uint16_t keycode, keyrecord_t *record)
+// in the default keymap and reacts only to mouse clicks.
+//#define NO_HAPTIC_MOD
+#define NO_HAPTIC_FN
+#define NO_HAPTIC_ALPHA
+#define NO_HAPTIC_PUNCTUATION
+#define NO_HAPTIC_NAV
+#define NO_HAPTIC_NUMERIC
+#define DRV_GREETING alert_750ms
+#define DRV_MODE_DEFAULT sharp_tick1
+#endif
+
+#ifdef PS2_MOUSE_ENABLE
+#define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BTN_RIGHT)
+#define PS2_MOUSE_SCROLL_BTN_SEND 500
+#endif \ No newline at end of file