mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
a1533f2c44
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. |
||
---|---|---|
.. | ||
default_controller_mappings.h | ||
gamecontrollerdb.txt | ||
godotcontrollerdb.txt | ||
input_builders.py | ||
input_event.cpp | ||
input_event.h | ||
input_map.cpp | ||
input_map.h | ||
input.cpp | ||
input.h | ||
SCsub |