summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-04-28 17:32:54 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-04-29 11:18:35 +0930
commit3a922c5d07509703a3eeda2bbec6f332e6b0ffac (patch)
tree3c819a7b8066477c5897df89b20d69b5ac01f119 /include
parentf2a20294fe26f4c9d245d24d065331fefd8f830d (diff)
Xi: apply ValuatorEvent data to the device's valuators.
After UpdateDeviceState, the device has the current position in absolute coordinates, the event has the correct valuator data to be delivered to the client.
Diffstat (limited to 'include')
-rw-r--r--include/inputstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/inputstr.h b/include/inputstr.h
index 8c1d5fc5a..d117e554d 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -174,7 +174,7 @@ typedef struct _ValuatorClassRec {
AxisInfoPtr axes;
unsigned short numAxes;
- int *axisVal;
+ int *axisVal; /* always absolute, but device-coord system */
int dxremaind, dyremaind; /* for acceleration */
CARD8 mode;
} ValuatorClassRec, *ValuatorClassPtr;