mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-07 07:50:14 +01:00
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:
parent
26c1958c32
commit
0050165a67
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue