Sascha Hlusiak 342057bf38 backend_evdev: fix scaling overflow for high resolution axes
The module scales all axis values from the kernel to the range of
-32768 .. 32768, for compatibility with the old joystick kernel module.

The current implementation had an integer overflow, if the axis had a high
resolution of > 16384, like the popular XBox 360 controller.

This commitmakes the scaling use float instead to fix erratic behaviour
on high resolution joysticks. The joystick backend was not affected.

Fixes bug: https://bugs.freedesktop.org/show_bug.cgi?id=42399
2013-01-16 10:50:40 +01:00

xf86-input-joystick - Joystick input driver for the Xorg X server

Please submit bugs & patches to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/driver/xf86-input-joystick

        http://cgit.freedesktop.org/xorg/driver/xf86-input-joystick

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage
Description
No description provided
Readme 863 KiB
Languages
C 94.1%
M4 3%
Makefile 2.7%
Shell 0.2%