76d5a0e723
`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
(cherry picked from commit
|
||
---|---|---|
.. | ||
SCsub | ||
default_controller_mappings.h | ||
gamecontrollerdb.txt | ||
godotcontrollerdb.txt | ||
input.cpp | ||
input.h | ||
input_builders.py | ||
input_enums.h | ||
input_event.cpp | ||
input_event.h | ||
input_map.cpp | ||
input_map.h | ||
shortcut.cpp | ||
shortcut.h |