summaryrefslogtreecommitdiff
path: root/config/includes/homerow.h
diff options
context:
space:
mode:
Diffstat (limited to 'config/includes/homerow.h')
-rw-r--r--config/includes/homerow.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/config/includes/homerow.h b/config/includes/homerow.h
index c8fe06f..8bb5c90 100644
--- a/config/includes/homerow.h
+++ b/config/includes/homerow.h
@@ -1,6 +1,6 @@
#pragma once
-#define MAKE_HRM(NAME, HOLD, TAP) \
+#define MAKE_HRM(NAME, HOLD, TAP, TRIGGER_POS) \
/ { \
behaviours { \
NAME: NAME { \
@@ -12,11 +12,12 @@
quick-tap-ms = <QUICK_TAP_MS>; \
require-prior-idle-ms = <150>; \
bindings = <HOLD>, <TAP>; \
+ hold-trigger-key-positions = <TRIGGER_POS>; \
hold-trigger-on-release; \
}; \
}; \
};
-
-MAKE_HRM(hml, &kp, &kp)
-MAKE_HRM(hmr, &kp, &kp)
+
+MAKE_HRM(hml, &kp, &kp, KEYS_R THUMBS)
+MAKE_HRM(hmr, &kp, &kp, KEYS_L THUMBS)