Replies: 1 comment 1 reply
|
If I read this page correctly, no app an get to the volume keys: https://developer.apple.com/documentation/appkit/nsevent/specialkey-swift.struct However looks like Next and Previous keys might be accessible, if Avalonia could add them to the list of supported keys? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I use HotKey attributes on Buttons, with media keys in my app, and on Android it works for vol +/-, on Windows it works for Track Prev/Next/PlayPause, and on Mac nothing works at all.
Looking at what I think is the Mac source https://github.com/AvaloniaUI/Avalonia/blob/main/native/Avalonia.Native/src/OSX/KeyTransform.mm looks like only vol +/- is coded, but I can't even get those to work. I am not a Mac programmer so no idea how to debug this. Took the same code and substituted "Ctrl+F" and everything worked as expected.
Anyone had success here?
All reactions