godot/core/input
Fabio Alessandrelli a1533f2c44 Better gamepad axis event injection.
In the core input handling code we have checks to make sure that if axis
rapidly change sign we inject mid-points to release any pending inputmap
action.

The function though, did not correctly insert the mid-point causing
dpads mapped to an axis that behaves like tri-state buttons (-1,0,1) to
not be released correctly.

This commit fixes that by including in the check the case where the axis
swtiches from abs(1) to 0.
2021-01-18 12:30:38 +01:00
..
default_controller_mappings.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
gamecontrollerdb.txt Apply upstream gamecontrollerdb patch 391. 2020-10-26 16:47:48 +00:00
godotcontrollerdb.txt Input: Readd 'Default Android Gamepad' magic binding 2020-05-11 11:07:04 +02:00
input_builders.py Parse SDL game controller half axis and inverted axis entries. 2020-05-13 10:33:19 +01:00
input_event.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
input_event.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
input_map.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
input_map.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
input.cpp Better gamepad axis event injection. 2021-01-18 12:30:38 +01:00
input.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub Remove unused Python imports. 2020-09-10 11:38:52 +01:00