-
Notifications
You must be signed in to change notification settings - Fork 29
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
"Delete" when button is unpressed #31
Comments
Good idea. We do get the Key Up / Key Down events for the Power Key. And there is a small window where the system power key behavior does not activate, to reduce accidental presses. PowerKey could be changed to only activate the replacement keystroke if the measured delay between key up / key down is less than the system's power key delay. Before Implementing I'd like to find the exact millisecond delay used by the system. Does anyone know? |
I can only assume, that there is 1000ms delay before laptop goes to sleep mode. |
Through a bit of testing it looks like Testing in OS X 10.11.1 shows: a power key Key Up > Key Down timeframe of |
In the new version of PowerKey I've enabled modifier keys to work alongside the power key, and that will cause some issues with this proposed "key up" behavior. When modifier keys are held, the system does not send the "key up / key down" event pair that is needed for this to work. So we have no choice but to send the event on key down when using modifier keys. Inputing the character on key down also feels more natural. Due to the above I'm going to close this issue, but thanks for the suggestion. If you'd like you could enable it on your copy of the app by changing the place in which the replacement key is inputted. |
Application is cool, but will be better if delete (or another action) will work after I move my hand from button. Because now when I want to lock my laptop it first remove one symbol and only then locking.
The text was updated successfully, but these errors were encountered: