godot/core/input
John Watson 76d5a0e723 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

(cherry picked from commit d413a02079)
2024-01-23 16:03:16 +01:00
..
SCsub SCons: List `.gen.cpp` sources explicitly to avoid globbing errors 2021-10-15 22:14:11 +02:00
default_controller_mappings.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gamecontrollerdb.txt Sync controller mappings DB with SDL2 community repo 2023-10-24 19:51:53 +02:00
godotcontrollerdb.txt Merge pull request #73200 from 0xafbf/fix-guide-button-win 2023-04-03 15:58:36 +02:00
input.cpp Android: Fix joypad trigger value range 2024-01-23 16:03:16 +01:00
input.h Android: Fix joypad trigger value range 2024-01-23 16:03:16 +01:00
input_builders.py Linux/BSD: Add LINUXBSD_ENABLED define for non X11-related checks 2023-01-16 17:01:35 +01:00
input_enums.h Fix mouse-button-mask on button release in unit test 2023-02-08 01:17:40 +01:00
input_event.cpp Mention Xbox menu button by name in Start button description 2023-07-10 17:46:08 +02:00
input_event.h Merge pull request #63168 from Levrault/master 2023-06-05 18:04:39 +02:00
input_map.cpp feat(gamepad): improve gamepad behavior with slider and popup_menu 2023-06-05 10:20:46 -04:00
input_map.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shortcut.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shortcut.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00