mirror of
https://github.com/yawut/SDL.git
synced 2026-04-23 09:07:30 -05:00
Fixed to match the docs
This commit is contained in:
parent
39ab0b3e3e
commit
b5c719c730
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user