-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Play/Pause with TWS headphones put on/take off #10606
Comments
Do you know what key is triggered at all when you put on these headphones? |
I don't know. With
|
I think it's not a KeyboardEvent, mpv have same behaviors as Should this issue keep open? |
You can use some third-party software like AutoHotKey to log all events to see what sort of event it looks like, but if mpv doesn't have it registered then |
Media Session API can handle this. might be useful: https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/audio/PlatformMediaSession.cpp |
One of the plugins that integrate mpv with Windows' media controls might enable this as a "side effect": |
TWS headphones support put on to play, take off to pause, It works with Youtube in edge browser. But with MPV, take off triggered the
PLAYPAUSE
ininput.conf
, put on does nothing.The text was updated successfully, but these errors were encountered: