Skip to content

Fix hardware media keys not working on Windows - #45

Open
rasoky2 wants to merge 1 commit into
2latemc:mainfrom
rasoky2:main
Open

Fix hardware media keys not working on Windows#45
rasoky2 wants to merge 1 commit into
2latemc:mainfrom
rasoky2:main

Conversation

@rasoky2

@rasoky2 rasoky2 commented Jul 11, 2026

Copy link
Copy Markdown

Hardware media keys (like headphone buttons) were not working on Windows because Chromium's MediaSession service was intercepting the events and dropping them. I've added --disable-features=HardwareMediaKeyHandling to WebView2 arguments in main.rs so the native Rust SMTC implementation in windows_media.rs can capture and handle them properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant