aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorÉric Brunet <Eric.Brunet@lps.ens.fr>2014-09-30 14:27:20 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2014-12-17 14:26:25 +1000
commite0e2587a95afaeb25ad73bb8b27488e79d1fe02e (patch)
treed9f1d50bbfced574734b28adbac60d994cff4f6b /src/evdev.h
parentevdev 2.9.1 (diff)
downloadxf86-input-evdev-e0e2587a95afaeb25ad73bb8b27488e79d1fe02e.tar.gz
xf86-input-evdev-e0e2587a95afaeb25ad73bb8b27488e79d1fe02e.tar.bz2
xf86-input-evdev-e0e2587a95afaeb25ad73bb8b27488e79d1fe02e.zip
Split pEvdev->vals into pEvdev->abs_vals and pEvdev->rel_vals
This should hopefully fix bug 84445. Signed-off-by: Éric Brunet <Eric.Brunet@lps.ens.fr> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 2a010e6..d2b04ba 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -161,9 +161,10 @@ typedef struct {
int num_mt_vals; /* number of multitouch valuators */
int abs_axis_map[ABS_CNT]; /* Map evdev ABS_* to index */
int rel_axis_map[REL_CNT]; /* Map evdev REL_* to index */
- ValuatorMask *vals; /* new values coming in */
- ValuatorMask *old_vals; /* old values for calculating relative motion */
- ValuatorMask *prox; /* last values set while not in proximity */
+ ValuatorMask *abs_vals; /* values for absolute axis */
+ ValuatorMask *rel_vals; /* values for relative axis */
+ ValuatorMask *old_vals; /* old absolute values for calculating relative motion */
+ ValuatorMask *prox; /* last absolute values set while not in proximity */
ValuatorMask *mt_mask;
ValuatorMask **last_mt_vals;
int cur_slot;