summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Thum <simon.thum@gmx.de>2008-05-26 17:56:08 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-26 17:58:07 +0930
commit0050165a67bb462e0bf644a11644ad9d587c62bb (patch)
treea0f9c1d1e2fdfa0906f287b663f8c15200845aaf
parent26c1958c322be3ac4dfec9ba2c41c5202bd03709 (diff)
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>
-rw-r--r--include/inputstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inputstr.h b/include/inputstr.h
index 5e745b356..7209b2cb3 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -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;