diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-10-22 16:11:24 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-10-22 16:19:00 +1000 |
commit | dd11f734a9a73bf34357c149d2809842938d57b5 (patch) | |
tree | f66e65c746b46a4993917776ca528d4a79b061a4 /test | |
parent | 5cf3b654fccf09de63a3f983c85096cda78fb693 (diff) |
input: remove "mode" field from ValuatorClassRec.
We have per-axis mode now. For those bits that still need it (XI 1.x),
assume that the first axis holds the device's mode.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/input.c b/test/input.c index f94a4d40c..daadbea31 100644 --- a/test/input.c +++ b/test/input.c @@ -66,7 +66,6 @@ static void dix_init_valuators(void) g_assert(val); g_assert(val->numAxes == num_axes); g_assert(val->numMotionEvents == 0); - g_assert(val->mode == Absolute); g_assert(val->axisVal); for (i = 0; i < num_axes; i++) @@ -74,6 +73,7 @@ static void dix_init_valuators(void) g_assert(val->axisVal[i] == 0); g_assert(val->axes->min_value == NO_AXIS_LIMITS); g_assert(val->axes->max_value == NO_AXIS_LIMITS); + g_assert(val->axes->mode == Absolute); } g_assert(dev.last.numValuators == num_axes); |