mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
d413a02079
`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 |
||
---|---|---|
.. | ||
default_controller_mappings.h | ||
gamecontrollerdb.txt | ||
godotcontrollerdb.txt | ||
input_builders.py | ||
input_enums.h | ||
input_event.cpp | ||
input_event.h | ||
input_map.cpp | ||
input_map.h | ||
input.cpp | ||
input.h | ||
SCsub | ||
shortcut.cpp | ||
shortcut.h |