Added primitive support for the mpriscontrol plugin on Windows by simulating VK_MEDIA key presses. I took a look into ISystemMediaTransportControls, but there doesn't seem to query it since it's per app. Leaving simulating key presses our only option for now. Completes T10000
Details
Details
- Reviewers
kdeconnect albertvaka - Group Reviewers
KDE Connect - Maniphest Tasks
- T10000: Media player control on Windows
- Commits
- R224:f4c7e12ea697: [mpriscontrol] add primitive windows support
Diff Detail
Diff Detail
- Repository
- R224 KDE Connect
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Looks good to me.
plugins/mpriscontrol/mpriscontrolplugin-win.cpp | ||
---|---|---|
24 | Can be defined inside the if. |
Comment Actions
You have a few merged patches already, so feel free to ask for a developer account if you want to have commit rights to land your own patches :)