diff options
author | John Watson <john@glowmatic.net> | 2023-09-04 18:02:43 -0700 |
---|---|---|
committer | John Watson <john@glowmatic.net> | 2023-10-20 11:30:20 -0700 |
commit | d413a0207923bfa4b753f088af1245d97ef08ec3 (patch) | |
tree | 453b2f75209d5745cce4e72b61bb3ccc2b374acc /modules/gdscript/tests/scripts/parser/errors/variable_conflicts_function.gd | |
parent | 0a7f75ec7b465604b6496c8f5f1d638aed250d6d (diff) | |
download | redot-engine-d413a0207923bfa4b753f088af1245d97ef08ec3.tar.gz |
Android: Fix joypad trigger value range
`Input::joy_axis` converts trigger values to be between 0.0f to 1.0f by default. This is not needed for Android, as values are already within that range, as per Android documentation: https://developer.android.com/reference/android/view/MotionEvent#AXIS_RTRIGGER
This patch prevents this conversion on Android, which caused L2 and R2 triggers to get stuck pressed. https://github.com/godotengine/godot/issues/79263
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/errors/variable_conflicts_function.gd')
0 files changed, 0 insertions, 0 deletions