input: change dxremaind, dyremaind to floats for better acceleration #9156

X.Org Bug 9156 <http://bugs.freedesktop.org/show_bug.cgi?id=9156>

Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
This commit is contained in:
Simon Thum 2008-05-26 17:56:08 +09:30 committed by Peter Hutterer
parent 26c1958c32
commit 0050165a67

View File

@ -174,7 +174,7 @@ typedef struct _ValuatorClassRec {
AxisInfoPtr axes;
unsigned short numAxes;
int *axisVal; /* always absolute, but device-coord system */
int dxremaind, dyremaind; /* for acceleration */
float dxremaind, dyremaind; /* for acceleration */
CARD8 mode;
} ValuatorClassRec, *ValuatorClassPtr;