zmk icon indicating copy to clipboard operation
zmk copied to clipboard

Adaptative key/magic key/alternate repeat key/... behaviour?

Open andreyadrian opened this issue 2 years ago • 5 comments

reference image


Is there a built in function for that?

andreyadrian avatar Nov 11 '23 02:11 andreyadrian

That is not something easily reproducible using existing features in ZMK. Someone recently shared a fork containing their implementation for a similar feature on Discord: https://gitlab.com/voidyourwarranty/zmk-yackboard-3.2/-/tree/devel-adaptive

caksoylar avatar Nov 11 '23 03:11 caksoylar

That is not something easily reproducible using existing features in ZMK. Someone recently shared a fork containing their implementation for a similar feature on Discord: https://gitlab.com/voidyourwarranty/zmk-yackboard-3.2/-/tree/devel-adaptive

oh i see, i guess i will just make each key put a layer on top then, like i did in kmonad.

btw do you know a way to mix keypresses with layer actions, right now is soo limited

andreyadrian avatar Nov 13 '23 21:11 andreyadrian

I'd be interested in something like this as well.

k3d3 avatar Nov 19 '23 16:11 k3d3

There is a PR on Github for this now: #2042

caksoylar avatar Dec 11 '23 07:12 caksoylar

oh i see, i guess i will just make each key put a layer on top then, like i did in kmonad.

btw do you know a way to mix keypresses with layer actions, right now is soo limited

I do this in my keymap here with macros that press the key you want, tap a Sticky Layer behavior, then release the key when you life/release. I chain these to create state machines that implement features like detecting the end of a sentence and automatically capitalizing the next letter. I wrote a bunch of preprocessor macros to help with setting this up because otherwise it's an immense amount of boilerplate.

I would love to see something like the alternate repeat/antecedent morph key in ZMK.

bmijanovich avatar Jan 03 '24 03:01 bmijanovich