-
Notifications
You must be signed in to change notification settings - Fork 5
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
Repeatable key presses? #18
Comments
I don't think it is possible with the current implementation. I am facing a similar problem (alongside a few others) so I just started working on a fork with a few changes and additions to help with some mpv scripts I've been woking on. One of these changes is making However in order to achieve this I switched from the If you are satisfied with how key bindings are handled by the current library and you just need the ability to configure repeatable key presses, you should be able to add just that option by slightly modifying the
I haven't actually tried this code but based on the mpv documentation on input command prefixes it should work. |
Is it currently possible to configure repeatable key presses? Currently via the Lua
add_key_binding
call), you can pass arepeatable
option so holding down the key will trigger the call back repeatedly. Does such functionality exist with this library?The text was updated successfully, but these errors were encountered: