Add "Standard keys (force capture)" option to volume control dropdown#1846
Add "Standard keys (force capture)" option to volume control dropdown#1846shuntagami wants to merge 4 commits into
Conversation
Keep the current safety behavior by default, but allow advanced users to force-capture standard volume media keys even when macOS output volume is controllable. Made-with: Cursor
Expose an explicit UI switch for force-capturing standard volume keys so advanced users can opt in without using hidden defaults commands. Made-with: Cursor
Keep the new volume-key override toggle visible in Keyboard settings while preserving the opt-in behavior for advanced users. Made-with: Cursor
|
@waydabber Review plz! |
…heckbox Replace the separate "Force capture standard volume and mute keys" checkbox with a new "Standard keys (force capture)" option in the existing Volume control dropdown (KeyboardVolume.mediaForce, tag=4). This integrates the feature more naturally into the existing UI, avoids removing the helpful "audio device name override" hint text, and eliminates the forceStandardVolumeMediaKeys preference key in favor of the enum-based approach. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Hi @shuntagami - thanks for the PR! Sorry for not reacting to this in a timely manner. What is the purpose of this change? Wouldn't this be a bit confusing to users? If it is to cover a very specific use-case, maybe simply having a fork with this is the best approach in case one needs it. |
|
Hi @waydabber The purpose of my change is to let users always control external displays with the standard macOS volume/mute keys, even when macOS would normally handle those keys natively and MonitorControl doesn’t react. This is an opt-in option for that specific case, so default behavior doesn’t change for other users. That said, PR #1827 already includes the same “Standard keys (force capture)” behavior, |
|
Hi @shuntagami - thank you for the answer. Yes, I understand what the PR does, I was trying to envision a use-case when this option would be useful. Can you have some specific examples that would be solved by this change? Are there displays that require DDC control with digital input that somehow have native macOS control as well which at the same time does not work properly and must be replaced by the app's control? |
|
Note: As AI generated PRs are getting more numerous now, I made decision that I won't review AI generated PRs/forks due to lack of time and resources. Of course other maintainers can help with this. I will not close such PRs however, but add a |
Summary
KeyboardVolume.mediaForceenum case (tag=4) as a "Standard keys (force capture)" option in the existing Volume control dropdownTest plan
Screen Shot
🤖 Generated with Claude Code