Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple KeyTypes on the same key #9

Open
qwelyt opened this issue Jul 2, 2023 · 0 comments
Open

Multiple KeyTypes on the same key #9

qwelyt opened this issue Jul 2, 2023 · 0 comments

Comments

@qwelyt
Copy link
Owner

qwelyt commented Jul 2, 2023

Having OnHold and DoubleTap is all nice and dandy. But I should not have to choose between them! I should be able to have both on the same key.

I should be able to say

(
   KeyCode(A), 
   DoubleTap(KeyCode(Esc), 100ms), 
   OnHold(KeyCode(Shift), 100ms), 
   TapHold(Function(...), 100ms, 100ms),
   DoubleTapHold(LayerMo(4), 100ms, 100ms, 50ms)

And that is ONE key. I should be able to do all the things on one and the same key without there being any problems. So this key for example would write A when pressed normally. If pressed twice within 100ms it would produce Esc. If held for 100ms it would produce Shift. You get far by just allowing this.
But I want more. TapHold would be press-release-press-hold, and that would execute a Function here.
DoubleTapHold is the same thing, but press-release-press-release-press-hold. And that would move us to to layer+4.

This allows one key to suddenly become 5 keys.

On top of this we have Chording and Combo that needs to be handled somehow. But all types should be allowed, always.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant