diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-01-12 11:03:30 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-01-17 14:33:54 +1000 |
commit | 5c5b2c8db851df7921cedd888222a6630a007fd8 (patch) | |
tree | 6662433117b24f96d6acfbc7ced55d8dcfce70d1 /src/apple.c | |
parent | missing multitouch related define tests (diff) | |
download | xf86-input-evdev-5c5b2c8db851df7921cedd888222a6630a007fd8.tar.gz xf86-input-evdev-5c5b2c8db851df7921cedd888222a6630a007fd8.tar.bz2 xf86-input-evdev-5c5b2c8db851df7921cedd888222a6630a007fd8.zip |
Force x/y axes to exist on devices with any other axes (#44655)
Too much in the server relies on x/y to exist and to be axes 0 and 1. So if
any relative axes exist, initialize REL_X/Y or ABS_X/Y as well.
For servers up to 1.11: a scrollwheel-only device now has relative axes
where it only had buttons before.
For servers 1.12 or later: the device now has x/y in addition to the scroll
axes.
X.Org Bug 44655 <http://bugs.freedesktop.org/show_bug.cgi?id=44655>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/apple.c')
0 files changed, 0 insertions, 0 deletions