diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-10-11 09:33:28 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-10-18 09:54:42 +1000 |
commit | b48f4c41c0d3386bba3e9d8fa3da91f18aae190b (patch) | |
tree | 746564bef5d8f63bd4d5f7fd0e06721ee5c6d6cd /src/emuMB.c | |
parent | Rename evdev->tool to evdev->proximity. (diff) | |
download | xf86-input-evdev-b48f4c41c0d3386bba3e9d8fa3da91f18aae190b.tar.gz xf86-input-evdev-b48f4c41c0d3386bba3e9d8fa3da91f18aae190b.tar.bz2 xf86-input-evdev-b48f4c41c0d3386bba3e9d8fa3da91f18aae190b.zip |
Add proximity support.
When one of the tools comes into proximity, queue up a proximity event and
send it accordingly.
Includes special handling for tablets that do not send axes with tools
(#29645)
Some tablets send axis values, then EV_SYN, and in the next event the
BTN_TOOL_PEN/BTN_TOUCH, etc. For these tablets, the cursor doesn't move as
coordinates while not in proximity are ignored.
Buffer coordinates received while out-of-proximity and if we get a proximity
event without other coordinates, re-use the last ones received.
X.Org Bug 29645 <http://bugs.freedesktop.org/show_bug.cgi?id=29645>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
Diffstat (limited to 'src/emuMB.c')
0 files changed, 0 insertions, 0 deletions