-
Notifications
You must be signed in to change notification settings - Fork 75
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
press_key not repeating keys #14
Comments
I'm not sure of the top of my head what the expected behaviour is: At what level in the stack keys get repeated. I'm also not sure why you'd want to do aaaaaaaaaaaa. If you want to create a specific number of a's, there is tap_key, which takes it as an argument. If you want to control a game, it'll probably work as-is, unless the game is using directinput as discussed in #2. |
All in all, I want to simulate a keyboard when I use |
I'm now in the same situation as #1. As I'm running some scripts on other apps, for example, a driving game, I want to simulate that the 'Up' key is pressed, while PyKeyboard 'press_key' only makes it look like tapping the key... |
I dont know if this is an issue with this awesome library or with my os (windows btw).
When I do a
press_key
in python, I assumed, that this key gets repeated until I release it (like when you press a char on your keyboard and your texteditor goesaaaaaaaaaaaaaa
).However: Its not like that. The key gets pressed once and never again.
Any ideas?
The text was updated successfully, but these errors were encountered: