-
Notifications
You must be signed in to change notification settings - Fork 7
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
Mod-Tap, implementation #6
Comments
Unfortunately this is not supported in the current version. That's an interesting use case. I'll leave this open as an item for consideration in future versions. |
I put together a prototype version of the long press on inputs and will further develop it: https://github.com/nhmkdev/KeyCap/releases/tag/v.2.0.0.5 One major issue is that the timing for the long press is currently 1 second (way more than 100ms as you mentioned). I hope to make the value customizable in a future version. |
1s is really a long time in this kind of functionality. 200ms is a time i'll use in my custom keyboard. 🖖 |
I saw that you implemented! And with independent custom timing! Many thanks! |
Edit, I found that it interferes with the keyboard shortcuts eg: Ctrl+C. Maybe if Ctrl or Shift is pressed, ignore the custom delay. |
For me ctrl+c copies the value, but replaces the selection with an c Edit: Now I see that I have a bad habit! I let go ctrl then let go c If I let go c then ctrl everything is fine. But, if you can achieve the nirvana and ignore the c after release of ctrl it will be so much more reliable and will make you have so much less pain. |
There's a new version that may make this slightly better: https://github.com/nhmkdev/KeyCap/releases/tag/v.2.1.0.1 I compared this and the prior version and there's definitely more tolerance after releasing the |
https://zmk.dev/docs/behaviors/mod-tap
https://github.com/davebrny/long-press.git
This page has an example of the behavior I want to achieve, for example:
When i click "a" it outputs "a"
I hold for a determined time the key "a", let's say 100ms, it outputs "A"
I don't need the repeating "aaaaaa", I want to use the hold a key instead of the shift key.
I can achieve this behavior with this app?
The text was updated successfully, but these errors were encountered: