xserver-multidpi/hw
Chase Douglas 65c0fc81eb Add support for per-axis valuator modes (Relative/Absolute)
The XI2 protocol supports per-axis modes, but the server so far does
not. This change adds support in the server.

A complication is the fact that XI1 does not support per-axis modes.
The solution provided here is to set a per-device mode that defines the
mode of at least the first two valuators (X and Y). Note that initializing
the first two axes to a different mode than the device mode will fail.

For XI1 events, any axes following the first two that have the same mode
will be sent to clients, up to the first axis that has a different mode.
Thus, if a device has relative, then absolute, then relative mode axes,
only the first block of relative axes will be sent over XI1.

Since the XI2 protocol supports per-axis modes, all axes are sent to the
client.

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
2010-10-22 13:37:57 +10:00
..
dmx Add support for per-axis valuator modes (Relative/Absolute) 2010-10-22 13:37:57 +10:00
kdrive Abstract valuator masks through a set of APIs. 2010-10-22 11:02:48 +10:00
vfb input: Purge Register*Device() functions. 2010-09-01 15:26:47 +10:00
xfree86 Add support for per-axis valuator modes (Relative/Absolute) 2010-10-22 13:37:57 +10:00
xnest Abstract valuator masks through a set of APIs. 2010-10-22 11:02:48 +10:00
xquartz Add support for per-axis valuator modes (Relative/Absolute) 2010-10-22 13:37:57 +10:00
xwin Abstract valuator masks through a set of APIs. 2010-10-22 11:02:48 +10:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00