Use of volume keys

Hi,

under windows I used the mouse wheel for changing the Z-Position in a P3D-Environment. Now I want to do the same with the volume keys in android.

Is this possible?

Thanks in andvance

Michael

I think that might be hard but maybe there’s a hacky way to do that using this event:

https://www.w3schools.com/jsref/event_onvolumechange.asp

@MichaelHecht ===
that is a standard keyEvent for android: just override it
https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_VOLUME_DOWN

(of course the same for up or mute)