Skip to content

Commit 768c68d

Browse files
committed
Configure tap settings
1 parent 21a9933 commit 768c68d

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

config/charybdis.keymap

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@
44
#include <dt-bindings/zmk/keys.h>
55
#include <dt-bindings/zmk/pointing.h>
66

7-
#define U_TAPPING_TERM 175
7+
#define U_TAPPING_TERM 280
8+
#define U_QUICK_TAP 175
9+
#define U_REQUIRE_PRIOR_IDLE 150
10+
11+
// Key position ranges for hold-trigger-key-positions
12+
// Left hand: columns 0-5 (positions 0-11, 24-28)
13+
// Right hand: columns 6-11 (positions 12-23, 29-34)
14+
#define LEFT_HAND_KEYS 0 1 2 3 4 5 6 7 8 9 10 11 24 25 26 27 28
15+
#define RIGHT_HAND_KEYS 12 13 14 15 16 17 18 19 20 21 22 23 29 30 31 32 33 34
16+
#define THUMB_KEYS 24 25 26 27 28 29 30 31 32 33 34
817
#define BASE 0
918
#define NAV 1
1019
#define SYMNUM 2
@@ -79,8 +88,12 @@
7988
compatible = "zmk,behavior-hold-tap";
8089
#binding-cells = <2>;
8190
tapping-term-ms = <U_TAPPING_TERM>;
82-
flavor = "tap-preferred";
91+
quick-tap-ms = <U_QUICK_TAP>;
92+
require-prior-idle-ms = <U_REQUIRE_PRIOR_IDLE>;
93+
flavor = "balanced";
8394
bindings = <&kp>, <&kp>;
95+
hold-trigger-key-positions = <RIGHT_HAND_KEYS THUMB_KEYS>;
96+
hold-trigger-on-release;
8497
};
8598

8699
u_lt: u_lt {
@@ -90,7 +103,7 @@
90103
flavor = "tap-preferred";
91104
bindings = <&mo>, <&kp>;
92105

93-
quick-tap-ms = <U_TAPPING_TERM>;
106+
quick-tap-ms = <U_QUICK_TAP>;
94107
};
95108
};
96109

0 commit comments

Comments
 (0)