test/controllermap.c
changeset 10726 893faaa67394
parent 10724 5ea5f198879f
child 10729 9059ffccccb2
     1.1 --- a/test/controllermap.c	Tue Dec 27 02:04:38 2016 -0800
     1.2 +++ b/test/controllermap.c	Tue Dec 27 09:51:58 2016 -0800
     1.3 @@ -413,7 +413,7 @@
     1.4                      if (nCurrentDistance > nFarthestDistance) {
     1.5                          pAxisState->m_nFarthestValue = nValue;
     1.6                      }
     1.7 -                    if (nCurrentDistance < 10000 && nFarthestDistance > 20000) {
     1.8 +                    if (nCurrentDistance <= 8000 && nFarthestDistance >= 20000) {
     1.9                          /* We've gone out and back, let's bind this axis */
    1.10                          SDL_GameControllerExtendedBind binding;
    1.11                          SDL_zero(binding);