Input: uinput - setup MT usage during device creation
authorHenrik Rydberg <rydberg@euromail.se>
Sun, 19 Sep 2010 23:25:36 +0000 (16:25 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 19 Sep 2010 23:29:57 +0000 (16:29 -0700)
commit38e7afe96c7c0ad900824911c61fdb04078033dc
tree537002b774b822af428dba93267d459325558301
parentaf045b86662f17bf130239a65995c61a34f00a6b
Input: uinput - setup MT usage during device creation

The input devices created by uinput do not currently handle multitouch
properly. All events will appear as if they came from slot zero, and
the input event buffers are not adjusted. This patch creates the MT
slots during setup, and sets the number of events per packet based
on the MT usage.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/uinput.c