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

Key Repetition Behavior #1715

Closed
xudongzheng opened this issue Mar 18, 2023 · 3 comments
Closed

Key Repetition Behavior #1715

xudongzheng opened this issue Mar 18, 2023 · 3 comments

Comments

@xudongzheng
Copy link
Contributor

Generally the operating system is responsible for handling key repetition behavior. However, it may be desirable to define a behavior that repeats a key at a configurable rate. This can be particularly useful for games where multiple key presses are handled differently from a single key press that's held.

@urob
Copy link
Contributor

urob commented Mar 18, 2023

Would this work? #1414

@jjangga0214
Copy link

jjangga0214 commented Mar 18, 2023

As a workaround for now, you may use kmonad.
There is cmd-button that executes arbitrary command(e.g. any script written by any language you want) from OS level.
You can write your script to generate/deactivate repetitive virtual keypresses when kmonad gets a certain keypress from zmk.
For example, AFAIK, macOS provides such a feature to generate virtual keypresses from software through Swift SDK.

@xudongzheng
Copy link
Contributor Author

Would this work? #1414

Thanks. Somehow that didn't come up while searching.

As a workaround for now, you may use kmonad.

Very interesting, will look into that.

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

3 participants