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

Hold letter key for another key entirely #93

Open
pixelpax opened this issue May 12, 2020 · 1 comment
Open

Hold letter key for another key entirely #93

pixelpax opened this issue May 12, 2020 · 1 comment

Comments

@pixelpax
Copy link

I'd like to hold the 'h' key for escape. Is there a way to do this?

@benblazak
Copy link
Owner

probably... but it would probably be involved. i forget if the timer functions are easily accessible in the files where the key press and release functions are defined -- but that's what you'd have to do: set a timer (or get the current time somehow) on press, and then trigger the correct actions on release (or after the timer expired).

sorry i can't be more help, it's been a while since i've looked at the code :-)

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