Fixed to match the docs
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401278
This commit is contained in:
parent
8cf42f6c8b
commit
33f5989f5a
1 changed files with 1 additions and 1 deletions
|
@ -943,7 +943,7 @@ static __inline__ int EV_AxisCorrect(SDL_Joystick *joystick, int which, int valu
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Clamp and return */
|
/* Clamp and return */
|
||||||
if ( value < -32767 ) return -32767;
|
if ( value < -32768 ) return -32768;
|
||||||
if ( value > 32767 ) return 32767;
|
if ( value > 32767 ) return 32767;
|
||||||
|
|
||||||
return value;
|
return value;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue