-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
AutoHotKey and long press #557
Comments
Well, that's a specific issue 😅 In order to know whether a specific key is held down, Kando relies on key-repeat events. You know, if you type a letter and then keep the key pressed, after a short delay this letter is repeated quickly. I would assume that AHK does not produce these while you toggle the key? This is so because there is no high-level API to query the state of individual keys on the keyboard. This only works for modifier keys such as Ctrl, Shift, or Alt. So here is a potential workaround: Can you bind Kando to a shortcut like Ctrl+F instead and make your keys simulate this? |
Yeah, I guess that this will be fixed alongside #468. Until then, you can also scale Kando with Ctrl+Shift+Plus, Ctrl+Minus, and Ctrl+0. |
Short Summary
I wanted to bind kando to a button on my mouse but I found that it's impossible in my case. The things is that going through the menu works great if you don't release the key that active it but the way my buttons are force me to just click the button but then i have to click on the icon to do anything. The way I tried to fix this was to use AutoHotKey to flip the state of a key when clicking it.
Here is the issues, it doesn't work on Kando, the key Is indeed long-pressed by AutoHotkey but for Kando it's like a simple click
Steps to Reproduce the Issue
To demonstrate the problem I made a video. Here I binded Kando to F and then I binded the G key to alternate between F up and F down. You can see on the video that F is indeed pressed for a long time then released. However kando doesn't recognize it and treat it like a simple press
https://youtu.be/uh4lszm2_dk?si=jg9bOJMnnGMeiq11
Kando Version
v1.2.0
Installation Method
Via an installer downloaded from a release on GitHub
Desktop Environment
Windows
Environment Version
Windows 11
Additional Information
No response
The text was updated successfully, but these errors were encountered: