mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 08:45:31 -05:00
Fixed to match the docs
This commit is contained in:
@@ -943,7 +943,7 @@ static __inline__ int EV_AxisCorrect(SDL_Joystick *joystick, int which, int valu
|
||||
}
|
||||
|
||||
/* Clamp and return */
|
||||
if ( value < -32767 ) return -32767;
|
||||
if ( value < -32768 ) return -32768;
|
||||
if ( value > 32767 ) return 32767;
|
||||
|
||||
return value;
|
||||
|
||||
Reference in New Issue
Block a user