Is it possible to capture the physical volume up/down button pushes on iOS (or Android) devices? My guess it might count as a keypress event of some kind, but I’m not sure how to investigate further.
In terms of use cases, you might have noticed that on iOS/iPhone for example, if you are in a camera application (like the built-in Apple one), pressing the volume up button triggers a photo to be captured. It would be great to be able to do emulate such behaviour.
Any advice or thoughts would be greatly appreciated!
you probably need to just do it with native functions. you can write wrapper classes that’ll get the native iOS code callbacks into juce, via this pattern: