Android: enable support for volume button events
- Enable events KEY_VOLUMEUP and KEY_VOLUMEDOWN on Android. - Adds a project setting to override volume buttons. It would disable system volume changes when the buttons are used within the project.
This commit is contained in:
@ -1444,6 +1444,9 @@
|
||||
<member name="input_devices/pointing/android/enable_pan_and_scale_gestures" type="bool" setter="" getter="" default="false">
|
||||
If [code]true[/code], multi-touch pan and scale gestures are enabled on Android devices.
|
||||
</member>
|
||||
<member name="input_devices/pointing/android/override_volume_buttons" type="bool" setter="" getter="" default="false">
|
||||
If [code]true[/code], system volume changes are disabled when the buttons are used within the app.
|
||||
</member>
|
||||
<member name="input_devices/pointing/android/rotary_input_scroll_axis" type="int" setter="" getter="" default="1">
|
||||
On Wear OS devices, defines which axis of the mouse wheel rotary input is mapped to. This rotary input is usually performed by rotating the physical or virtual (touch-based) bezel on a smartwatch.
|
||||
</member>
|
||||
|
||||
Reference in New Issue
Block a user