Input: MT - Get slot by key
authorHenrik Rydberg <rydberg@euromail.se>
Sat, 1 Sep 2012 07:27:20 +0000 (09:27 +0200)
committerHenrik Rydberg <rydberg@euromail.se>
Wed, 19 Sep 2012 17:50:19 +0000 (19:50 +0200)
commit17a465a7f2d6ce31738a3a76591afeab165f185a
treeb10a27eb43a6eb0aee31aa851c00936ec3edcc17
parent7c1a87897c75139dec258eb03e1a24fb73385b73
Input: MT - Get slot by key

Some devices use an internal key for tracking which cannot be directly
mapped to slots. This patch provides a key-to-slot mapping, which can
be used by drivers of such devices.

Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/input/input-mt.c
include/linux/input/mt.h