Merge pull request #88130 from AlekseyKapustyanenko/Rotary_Input

Add rotary input support for Android platform
This commit is contained in:
Rémi Verschelde
2024-02-13 23:43:33 +01:00
5 changed files with 35 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
</brief_description>
<description>
Stores information about mouse click events. See [method Node._input].
[b]Note:[/b] On Wear OS devices, rotary input is mapped to [constant MOUSE_BUTTON_WHEEL_UP] and [constant MOUSE_BUTTON_WHEEL_DOWN]. This can be changed to [constant MOUSE_BUTTON_WHEEL_LEFT] and [constant MOUSE_BUTTON_WHEEL_RIGHT] with the [member ProjectSettings.input_devices/pointing/android/rotary_input_scroll_axis] setting.
</description>
<tutorials>
<link title="Using InputEvent">$DOCS_URL/tutorials/inputs/inputevent.html</link>