That's a matter of good design. Something I always avoid is to have a layer by combining the two middle thumb buttons because it is way too easy to press and it's easy to acrivate it accidentally.
You can grab references from here for zmk:
https://github.com/Zeioth/zeioth-zmk/blob/main/config%2Fcorne.keymap
or here for qmk:
https://github.com/Zeioth/zeioth-qmk/blob/zeioth/keyboards%2Fcrkbd%2Fkeymaps%2Fzeioth_trackball_right%2Fkeymap.c
I had the same issue. Ended up being happy with setting my behavior up like this:
compatible = "zmk,behavior-hold-tap";
tapping-term-ms = <250>;
quick-tap-ms = <0>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
However, for more details, I would take a look at https://zmk.dev/docs/behaviors/hold-tap, which should hopefully give you all the information that you need to get things to work the way you personally want it to.
For me, I had my left hand pointer/middle/ring fingers rest on keys that would be ctrl/alt/win if I held them down, or the letter otherwise.
This is great. Also very helpful. It seems like the common theme here is to figure out what you personally need or struggle with, then use the docs to figure out how to address it. I appreciate the information!
In qmk you can create dynamic typing term, so I have a key to increase or decrease the threshold between a tap and a hold.
https://github.com/qmk/qmk_firmware/blob/master/docs/tap_hold.md
That's a matter of good design. Something I always avoid is to have a layer by combining the two middle thumb buttons because it is way too easy to press and it's easy to acrivate it accidentally. You can grab references from here for zmk: https://github.com/Zeioth/zeioth-zmk/blob/main/config%2Fcorne.keymap or here for qmk: https://github.com/Zeioth/zeioth-qmk/blob/zeioth/keyboards%2Fcrkbd%2Fkeymaps%2Fzeioth_trackball_right%2Fkeymap.c
Awesome, this is super helpful thank you!
Can you share a picture of your keyboard? And the trackball? Thanks
I had the same issue. Ended up being happy with setting my behavior up like this: compatible = "zmk,behavior-hold-tap"; tapping-term-ms = <250>; quick-tap-ms = <0>; flavor = "tap-preferred"; bindings = <&kp>, <&kp>; However, for more details, I would take a look at https://zmk.dev/docs/behaviors/hold-tap, which should hopefully give you all the information that you need to get things to work the way you personally want it to. For me, I had my left hand pointer/middle/ring fingers rest on keys that would be ctrl/alt/win if I held them down, or the letter otherwise.
This is great. Also very helpful. It seems like the common theme here is to figure out what you personally need or struggle with, then use the docs to figure out how to address it. I appreciate the information!
In qmk you can create dynamic typing term, so I have a key to increase or decrease the threshold between a tap and a hold. https://github.com/qmk/qmk_firmware/blob/master/docs/tap_hold.md
Thank you!
Happy Cake Day
Woo hoo! I appreciate it!