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

[Request] Allow configuration of timing for tap/hold #24

Open
colejd opened this issue Oct 12, 2021 · 2 comments
Open

[Request] Allow configuration of timing for tap/hold #24

colejd opened this issue Oct 12, 2021 · 2 comments

Comments

@colejd
Copy link

colejd commented Oct 12, 2021

It would be nice to be able to configure how long it takes to go from "tapping" to "holding". For example, I want to lengthen the time you need to hold the key, as I keep flipping the keyboard when I actually mean to just add a space.

@ZevEisenberg
Copy link
Owner

That's interesting, since it's not based on timing at all, merely on ordering. Have a look at the test cases to see what I mean. If you run Keyb with a debugger attached, and then repro the issue, you'll see logs for every character you type, and you'll be able to see specifically what order of events causes the misfire. If you do that, we can write a test case and fix it 🙂

@colejd
Copy link
Author

colejd commented Oct 12, 2021

Huh! I made an incorrect assumption. I'll definitely check the test cases out.

That being the situation, then, I think it strengthens the case for adding the ability to use a dedicated keybinding, as in #23. The current implementation introduces a bit of delay between when you tap the spacebar and when the space gets typed. I realize that some delay has to be introduced for that to work, but it throws me off, because apparently I'm really picky? A dedicated keybinding would let me avoid a delay, while also allowing greater interop with other keyboards/accessibility devices, or even scripting things like HammerSpoon.

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

2 participants