yquake2remaster/src/client/input
Yamagi Burmeister eaa4aa46ce Don't screw up if 'sensitivity' is set to non-integral values.
Like most other cvars 'sensitivity' allowes for float values. But until
now mouse events were handled as integers which led to some confusing
problems. This was especially noticeable at values lower than 1, small
mouse movements were cut to 0 and discarded. Since the clients movement
code is written in floats and we're already using floats for joystick
movement switch the mouse event handling over to them, too.

This should have any impact on configs were 'sensitivity' is ste to
integral values. If it was set to decimal values the behaviour is now
correct.

This fixes #419.
2019-07-20 16:19:35 +02:00
..
header Move input.c and input.h into the client and rename to sdl.c. 2018-08-07 09:43:34 +02:00
sdl.c Don't screw up if 'sensitivity' is set to non-integral values. 2019-07-20 16:19:35 +02:00