aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-10-15 11:13:47 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-10-15 11:36:49 +1000
commit1d86f5dec16beaf9391f320d7702cc59e9486bf4 (patch)
tree3c08d7a6e09207b9cc30aac3d2fbf190b1451e5f /configure.ac
parentFix copy/paste typo in comment. (diff)
downloadxf86-input-evdev-1d86f5dec16beaf9391f320d7702cc59e9486bf4.tar.gz
xf86-input-evdev-1d86f5dec16beaf9391f320d7702cc59e9486bf4.tar.bz2
xf86-input-evdev-1d86f5dec16beaf9391f320d7702cc59e9486bf4.zip
Convert IgnoreAbsolute/RelativeAxes options into trinary state.
The Xen Virtual Pointer device exports both absolute and relative axes from the kernel device. Which coordinates are used is a run-time decision and depends on the host-specific configuration. 0a3657d2ee62f4086e9687218cb33835ba61a0b3 broke these devices, and they are now unusable out-of-the-box as there is no configuration to cover them. This patch converts the IgnoreAbsoluteAxes and the IgnoreRelativeAxes configuration options into a trinary state. 1. If unset, configure the device as normal by trying to guess the right axis setup. 2. If set to true, ignore the specific axis type completely (except for wheel events). 3. If set to false, explicitly 'unignore' the axis type, alwas configuring it if it is present on the device. This setting introduces seemingly buggy behaviour (see Bug 21832) 1. and 2. replicate the current driver behaviour. The result of 3. is that is that if a device has absolute axes and the options set to false, both axes will be initialized (absolute last to get clipping right). This requires axis labelling priorty to switch from relative first to absolute first. Relative events are forwarded into the server through the absolute axes, the server scales this into the device absolute range and everyone is happy. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions