]> 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>
Sat, 15 Sep 2012 15:02:12 +0000 (17:02 +0200)
commit3227ff862ed52bc389542c0e28b26bb750968c96
tree0cc927c32fea65d1938881fd499aba6be9f8a6c3
parentdbc836a0d039e4e6110afaa4e3dbfeb88672a08a
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