Skip to content

Commit c4fdffc

Browse files
committed
Configure tap settings
1 parent 21a9933 commit c4fdffc

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

config/charybdis.keymap

Lines changed: 16 additions & 5 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 200
8+
#define U_QUICK_TAP 150
9+
#define U_REQUIRE_PRIOR_IDLE 100
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,18 +88,20 @@
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>;
8496
};
8597

8698
u_lt: u_lt {
8799
compatible = "zmk,behavior-hold-tap";
88100
#binding-cells = <2>;
89101
tapping-term-ms = <U_TAPPING_TERM>;
90-
flavor = "tap-preferred";
102+
flavor = "balanced";
91103
bindings = <&mo>, <&kp>;
92-
93-
quick-tap-ms = <U_TAPPING_TERM>;
104+
quick-tap-ms = <U_QUICK_TAP>;
94105
};
95106
};
96107

0 commit comments

Comments
 (0)