HID: multitouch: support arrays for the split of the touches in a report
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Wed, 14 Nov 2012 15:59:17 +0000 (16:59 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 15 Nov 2012 09:08:40 +0000 (10:08 +0100)
commit54f4c0c3e9d9ad50bf58a4f7c2bbdfb3fa4ab3a7
tree3542c485b9e262fb10129e377036ba90c01bb7b1
parentf262d1fa2c651a5e2f92b6aee8779597631cd5d4
HID: multitouch: support arrays for the split of the touches in a report

Win8 certification introduced the ability to transmit two X and two Y per
touch. The specification precises that it must be used in an array.

This test guarantees that we split the touches on the last element
in this array.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c