Some controllers have trouble getting out to 20000
authorSam Lantinga <slouken@libsdl.org>
Wed, 04 Jan 2017 05:09:02 -0800
changeset 10747da1f4eeac65a
parent 10746 95c57a177719
child 10748 4929a131714b
Some controllers have trouble getting out to 20000
test/controllermap.c
     1.1 --- a/test/controllermap.c	Wed Jan 04 09:33:47 2017 -0500
     1.2 +++ b/test/controllermap.c	Wed Jan 04 05:09:02 2017 -0800
     1.3 @@ -444,7 +444,7 @@
     1.4                      if (nCurrentDistance > nFarthestDistance) {
     1.5                          pAxisState->m_nFarthestValue = nValue;
     1.6                      }
     1.7 -                    if (nFarthestDistance >= 20000 && nCurrentDistance <= 10000) {
     1.8 +                    if (nFarthestDistance >= 16000 && nCurrentDistance <= 10000) {
     1.9                          /* We've gone out far enough and started to come back, let's bind this axis */
    1.10                          SDL_GameControllerExtendedBind binding;
    1.11                          SDL_zero(binding);