SDL/src
Sam Lantinga 082132a70c Fixed binding the D-pad on some Super NES style controllers
Fixed a case where partial trigger pull could be bound to another button

There is a fundamental problem not resolved by this commit:

Some controllers have axes (triggers, pedals, etc.) that don't start at zero, but we're guaranteed that if we get a value that it's correct. For these controllers, the current code works, where we take the first value we get and use that as the zero point and generate axis motion starting from that point on.

Other controllers have digital axes (D-pad) that assume a zero starting point, and the first value we get is the min or max axis value when the D-pad is moved. For these controllers, the current code thinks that the zero point is the axis value after the D-pad motion and this doesn't work.

My hypothesis is that the first class of devices is more common and that we should solve for that, and add an exception to SDL_JoystickAxesCenteredAtZero() as needed for the second class of devices.
2017-01-03 23:39:28 -08:00
..
atomic Updated copyright for 2017 2017-01-01 18:33:28 -08:00
audio Updated copyright for 2017 2017-01-01 18:33:28 -08:00
core Updated copyright for 2017 2017-01-01 18:33:28 -08:00
cpuinfo Updated copyright for 2017 2017-01-01 18:33:28 -08:00
dynapi Updated copyright for 2017 2017-01-01 18:33:28 -08:00
events Updated copyright for 2017 2017-01-01 18:33:28 -08:00
file Updated copyright for 2017 2017-01-01 18:33:28 -08:00
filesystem Updated copyright for 2017 2017-01-01 18:33:28 -08:00
haptic Updated copyright for 2017 2017-01-01 18:33:28 -08:00
joystick Fixed binding the D-pad on some Super NES style controllers 2017-01-03 23:39:28 -08:00
libm Updated copyright for 2017 2017-01-01 18:33:28 -08:00
loadso Updated copyright for 2017 2017-01-01 18:33:28 -08:00
main Updated copyright for 2017 2017-01-01 18:33:28 -08:00
power Updated copyright for 2017 2017-01-01 18:33:28 -08:00
render Updated copyright for 2017 2017-01-01 18:33:28 -08:00
stdlib Updated copyright for 2017 2017-01-01 18:33:28 -08:00
test Updated copyright for 2017 2017-01-01 18:33:28 -08:00
thread Updated copyright for 2017 2017-01-01 18:33:28 -08:00
timer Updated copyright for 2017 2017-01-01 18:33:28 -08:00
video Fixed bug 3519 - SDL_GetDisplayMode fails to report mode.format when using Wayland backend 2017-01-03 00:44:05 -08:00
SDL.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_assert.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_assert_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_dataqueue.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_dataqueue.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_error.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_error_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_hints.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_internal.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_log.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00