Skip to content

Commit

Permalink
Fixed to match the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 27, 2006
1 parent 35033c8 commit 08d9dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/linux/SDL_sysjoystick.c
Expand Up @@ -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;
Expand Down

0 comments on commit 08d9dd8

Please sign in to comment.