Commit 33f5989f authored by Sam Lantinga's avatar Sam Lantinga

Fixed to match the docs

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401278
parent 8cf42f6c
...@@ -943,7 +943,7 @@ static __inline__ int EV_AxisCorrect(SDL_Joystick *joystick, int which, int valu ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment