godot/core
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
..
config Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
crypto Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
debugger Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
error Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
input Better gamepad axis event injection. 2021-01-18 12:30:38 +01:00
io Expose `Resource.emit_changed()` to script 2021-01-13 16:27:58 +02:00
math Merge pull request #45136 from akien-mga/clang-format-11 2021-01-13 16:10:44 +01:00
object Improve UndoRedo class 2021-01-12 14:34:46 +01:00
os Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
string Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
templates Add function `LocalVector::remove_unordered` 2021-01-11 13:47:31 +01:00
variant Merge pull request #44427 from briansemrau/fix-variant-bitand-validated-eval 2021-01-11 13:53:27 +01:00
SCsub Update PolyPartition / Triangulator library 2021-01-12 13:46:16 -05:00
core_bind.cpp Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
core_bind.h Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
core_builders.py Update AUTHORS and DONORS list 2020-08-14 00:06:51 +02:00
core_constants.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
core_constants.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
core_string_names.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
core_string_names.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
doc_data.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
doc_data.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
register_core_types.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
register_core_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
typedefs.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
version.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00