evdev: add a rectangle to the touch arbitration
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Sep 2018 02:02:51 +0000 (12:02 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 31 Jan 2019 05:17:28 +0000 (05:17 +0000)
commitf325ca921dede43b87286b2fff510c5dfacb3c93
tree18d79f6715a416883e6987e4afe800fc3e31f83c
parent72560e031b9ca2ba03be9930e845d3dfcd52c136
evdev: add a rectangle to the touch arbitration

This enables us to specify the location that needs to be arbitrated, rather
than just disabling the whole device altogether. This patch just adds the
hooks, no implementation.

This is internal API only, one backend can specify an area in mm which gets
converted to device coordinates in the target device and arbitrated there.
Right now, everything simply passes NULL.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-fallback.c
src/evdev-fallback.h
src/evdev-mt-touchpad.c
src/evdev-tablet-pad.c
src/evdev-tablet.c
src/evdev.h
src/libinput-private.h