diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2012-08-22 20:43:22 +0200 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2012-09-19 19:50:19 +0200 |
commit | 55e49089f4589908eb688742d2d7eff33b74ac78 (patch) | |
tree | ea080c5831e489465378a37480d87c1125143b8c /include/linux/input/navpoint.h | |
parent | b4adbbefc2099476a4f1020041c99f52cf3cd67d (diff) |
Input: MT - Handle frame synchronization in core
Most MT drivers perform the same actions on frame synchronization.
Some actions, like dropping unseen contacts, are also unnecessarily
complex. Collect common frame synchronization tasks in a new function,
input_mt_sync_frame(). Depending on the flags set, it drops unseen
contacts and performs pointer emulation.
With init flags and frame synchronization in place, most MT drivers
can be simplified. First out are the bcm5974 and hid-multitouch
drivers, following this patch.
Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Tested-by: Ping Cheng <pingc@wacom.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/linux/input/navpoint.h')
0 files changed, 0 insertions, 0 deletions