[PATCH evdev 0/8] cleanup and handling of proximity for multitouch devices
Benjamin Tissoires
benjamin.tissoires at gmail.com
Wed Jan 9 10:21:14 PST 2013
Hi,
this patch series aims at fixing the bug that will arrive with Win 8 devices
supporting Z-axis detection (proximity or hovering).
Patches 1 to 4 are some cleanup
Patch 5 removes the need of mtdev for the mt protocol B devices
Patch 6 makes a necessary initialization of the current values of each slot.
Patches 7-8 handle these particular devices (proximity).
Cheers,
Benjamin
Benjamin Tissoires (8):
initialize pEvdev->slot_state to SLOTSTATE_EMPTY
num_slots should take into account the .mtdev field
Use last_mt_vals_slot() instead of directly using pEvdev->cur_slot
Ignore out-of-range slots information
Do not rely on mtdev for devices following mt-protocol B
Init multitouch valuators axes
Store per-slot touch state
handle multitouch events whithin proximity
src/evdev.c | 180 +++++++++++++++++++++++++++++++++++++++++++++---------------
src/evdev.h | 8 ++-
2 files changed, 142 insertions(+), 46 deletions(-)
--
1.8.0.2
More information about the xorg-devel
mailing list