-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
[Bug] Keys don't seem to work properly when they're pressed for <=1ms #153
Comments
Do I need to buy some keyboards to reproduce it? Thanks. |
It is a keyboard running https://github.com/zmkfirmware/zmk firmware. It is workin for me now. I created deticated macros for each key to press the keys for 20ms. It does not look as nice but it works. This issue could be related zmkfirmware/zmk#759 . Thank you very much for your great extention. Can this issue be closed? |
Thanks for details. Am I correct in understanding that this isuue is caused by mismatch of I/O timing between zmk and win-vind? win-vind uses hardcoded interval, but modifilable, but I have not tried yet.
|
I only press my keys on my programmable keyboard for 1ms it seems. |
I can wait for minmal 1ms. Nothing helps. |
Did your std::this_thread::sleep_for work? |
I'd did not work. std::this_thread::sleep_for(std::chrono::microseconds(100)); sleeps for 1ms. And it does not work consistently. I'm not sure what you mean. I'm using a macros to artificial extend the tapping time to 20ms and it works consistently. |
Thanks for using win-vind. Looking at Stack Overflow, it still seems to be difficult to get Windows to sleep for an exact short period of time. |
About Bug
Steps to reproduce
Environments
|Windows Edition|10 Home|
|Architecture|[e.g. 64bit/32bit]|
|win-vind Version|[e.g. 5.0.1.0]|
The text was updated successfully, but these errors were encountered: