]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: MT - Add in-kernel tracking
authorHenrik Rydberg <rydberg@euromail.se>
Sun, 12 Aug 2012 18:47:05 +0000 (20:47 +0200)
committerHenrik Rydberg <rydberg@euromail.se>
Mon, 10 Sep 2012 17:59:59 +0000 (19:59 +0200)
commit55b9e6db87887c4fd4c3f0544b40843119bb2e5d
treeddbf492cab90671a0590021e9bdd4f2eb12f1a1c
parent093f45884fff3828023e60139183e39610eebe6a
Input: MT - Add in-kernel tracking

With the INPUT_MT_TRACK flag set, the function input_mt_assign_slots()
can be used to match a new set of contacts against the currently used
slots. The algorithm used is based on Lagrange relaxation, and performs
very well in practice; slower than mtdev for a few corner cases, but
faster in most commonly occuring cases.

Tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/input/input-mt.c
include/linux/input/mt.h