From 1ddff75c705bad061e328a323efaf811c78ffa3c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 4 Jan 2017 05:09:02 -0800 Subject: [PATCH] Some controllers have trouble getting out to 20000 --- test/controllermap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllermap.c b/test/controllermap.c index 1cd0c0eca..f0a01f061 100644 --- a/test/controllermap.c +++ b/test/controllermap.c @@ -444,7 +444,7 @@ WatchJoystick(SDL_Joystick * joystick) if (nCurrentDistance > nFarthestDistance) { pAxisState->m_nFarthestValue = nValue; } - if (nFarthestDistance >= 20000 && nCurrentDistance <= 10000) { + if (nFarthestDistance >= 16000 && nCurrentDistance <= 10000) { /* We've gone out far enough and started to come back, let's bind this axis */ SDL_GameControllerExtendedBind binding; SDL_zero(binding);