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

Ability to resolve a tap as a hold. #926

Open
voronind-com opened this issue Jan 31, 2025 · 1 comment · May be fixed by #953
Open

Ability to resolve a tap as a hold. #926

voronind-com opened this issue Jan 31, 2025 · 1 comment · May be fixed by #953

Comments

@voronind-com
Copy link

Basically I want to have a layer that holds a key on first tap and releases it on second tap.
This could be useful for games that require you to hold a key for a long time i.e. to craft something, this way there's no need to hold a key, just tap it and it'll be held all the time.

I know we can use toggle(shift) for that, but it doesn't work for normal keys like toggle(e).

@khyperia khyperia linked a pull request Mar 8, 2025 that will close this issue
@rvaiya
Copy link
Owner

rvaiya commented Mar 8, 2025

This is non trivial to implement properly, and I am not convinced of the general utility. Most games will only have a handful of keys like this, can't you remap them in game to modifiers and then use toggled layers?

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

Successfully merging a pull request may close this issue.

2 participants