Sdl_mousemotion

Hello!

I’m making program where user moves object with mouse.
Code:
int main(int argc, char **argv) {

while (SDL_PollEvent(&event)) {
switch(event.type) {
case SDL_MOUSEMOTION:
handleMouseMotion( event.motion.xrel, event.motion.yrel );
break;

}

void handleMouseMotion(int xrel, int yrel) {
cam_rot -= xrel/2;
lookupdown += yrel/2;
}

The problem is there that on different computers mouse sensitivity is
different… for one computer normal, for another to slow or to fast…
Does SDL_MOUSEMOTION use windows mouse settings?
If yes then how i can make my own sensitivity?

Best, iERiS_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

When I grab SDL_MOUSEMOTION and look at the buttons, I can’t get
button #3 to work. I have a Logitech mouse and as of now button #2 is
mapped to the wheel button. AFAIK button 3 should be right mouse button
and I get no event from what I can tell…

Any ideas? SDL 1.2.14

Thanks!