-
Notifications
You must be signed in to change notification settings - Fork 18
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 #85
Comments
That's not an option, sorry. Generally, timing of the input is not considered. |
It's just an example, other functions can be done. Like hold F to format, or a hold 5 to hit F5... I don't think it breaks the rithm, shift+a it's not faster, and most important, I have to move my hand a lot to hit the difficult left and right shifts, to CamelCaseTheThings. |
I have the same request, and maybe there is a way to do it without consideration to timing, only using KEYv and KEY^ events:
I suppose that events have to be considered after REWIREs and may not apply to COMBOs. Also, the ability to send repeated characters by holding down a key is lost as well, but that should be expected for this feature. This could be implemented as an OPTION. Thank you. |
That is similar to how macOS deals with accents (opt+i prints ˆ then e replaces ˆ with ê). To pick up onolox' example: "hold 5 for F5". In a text box, this would print 5, then backspace, then F5. You could not produce output until the outcome is known, but then you have to delay "5" until the key is released, which can have side effects. I'm not against such a feature, but it needs to be a clear design, and not cause complicated issues. I'm not quite satisfied with the ideas in my head yet. |
You could enable / disable this with an [Esc] + [Key] combo, like Debug and AutoHotKey. The enable / disable could be either global (for the entire keymap), or for the keys that have been defined (i.e we will have to specify in the config which keys to AutoShift, for example you may only want to AutoShift brackets to braces). The last point could be useful also if one wants the long press to do another action, e.g send a dead key. Then use dead keys like in the [SHOWOFF] section for sequences to trigger macros etc. Thank you. |
https://zmk.dev/docs/behaviors/mod-tap
https://github.com/davebrny/long-press
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 instead of the shift key.
I can achieve this behavior with this app?
The text was updated successfully, but these errors were encountered: