From 6bf324125af9010ccd81a50738cf8dcb20f40365 Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Wed, 13 Mar 2024 18:19:28 +0100 Subject: Tweak --- config/includes/homerow.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 config/includes/homerow.h (limited to 'config/includes/homerow.h') diff --git a/config/includes/homerow.h b/config/includes/homerow.h new file mode 100644 index 0000000..c8fe06f --- /dev/null +++ b/config/includes/homerow.h @@ -0,0 +1,22 @@ +#pragma once + +#define MAKE_HRM(NAME, HOLD, TAP) \ + / { \ + behaviours { \ + NAME: NAME { \ + label = ZMK_HELPER_STRINGIFY(ZB_ ## NAME); \ + compatible = "zmk,behavior-hold-tap"; \ + #binding-cells = <2>; \ + flavor = "balanced"; \ + tapping-term-ms = <280>; \ + quick-tap-ms = ; \ + require-prior-idle-ms = <150>; \ + bindings = , ; \ + hold-trigger-on-release; \ + }; \ + }; \ + }; + +MAKE_HRM(hml, &kp, &kp) +MAKE_HRM(hmr, &kp, &kp) + -- cgit v1.2.3