virtualx-engine/main
Fabio Alessandrelli ea89e73a88 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 13:07:37 +01:00
..
tests Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
app_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
default_controller_mappings.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
gamecontrollerdb.txt Apply upstream gamecontrollerdb patch 391. 2020-10-26 17:01:53 +00:00
godotcontrollerdb.txt Input: Readd 'Default Android Gamepad' magic binding 2020-05-11 11:22:21 +02:00
input_default.cpp Better gamepad axis event injection. 2021-01-18 13:07:37 +01:00
input_default.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
main.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
main.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
main_builders.py Support SDL2 half axes and inverted axes mappings. 2020-06-26 06:28:56 +01:00
main_timer_sync.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
main_timer_sync.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
performance.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
performance.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
splash.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
splash_editor.png Update AUTHORS and DONORS list 2020-10-28 15:09:17 +01:00