Some controllers have trouble getting out to 20000
This commit is contained in:
parent
a63f4a2448
commit
03a927b4e3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue