-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
input_default_bindings not working on macOS #63
Comments
Sorry, I have no idea. Maybe focus order, in that on mac your window is not in focus? |
I investigated this using a custom Is there a way of simulating keypresses using python-mpv? That way I could catch key-events in PyQT's |
For example: |
That works nicely, thanks a lot! |
Hello,
Time for another macOS related issue ( :-[ ). As explained in #61, an extra QT-Window needs to be created for python-mpv to work on macOS.
If I now take the PyQT embedding example from the README and add
input_default_bindings=True, input_vo_keyboard=True
to the MPV instantiation, I would expect mpv-commands such asspace
(for pausing) oro
(for time-display) to work.On linux, it does indeed work.
On macOS however, nothing happens.
Do you have a suggestion why this might be happening? (PyQT not forwarding keypress-events, ...)
The text was updated successfully, but these errors were encountered: