aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-03-11 14:58:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-03-11 15:21:09 +1000
commit38e107a39fb4a0b630ee5adb5870c91dbc27abde (patch)
tree0df1533ebf8ada59373e7df6567da369f08932d0 /src/evdev.h
parentInvert two conditions to reduce nesting (diff)
downloadxf86-input-evdev-38e107a39fb4a0b630ee5adb5870c91dbc27abde.tar.gz
xf86-input-evdev-38e107a39fb4a0b630ee5adb5870c91dbc27abde.tar.bz2
xf86-input-evdev-38e107a39fb4a0b630ee5adb5870c91dbc27abde.zip
Disable axis faking and MT event processing on fake MT devices
This effectively disables all axes >= ABS_MT_SLOT on those devices. But at least the device comes up without an error and it didn't work correctly beforehand anyway. https://bugs.freedesktop.org/show_bug.cgi?id=89473 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 4aa7652..0f71d78 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -161,6 +161,7 @@ typedef struct {
enum SlotState state;
} *slots;
struct mtdev *mtdev;
+ BOOL fake_mt;
int flags;
int in_proximity; /* device in proximity */