]> git.karo-electronics.de Git - linux-beck.git/commit
HID: sony: add output events for the multi-touch pad on the Dualshock 4
authorFrank Praznik <frank.praznik@oh.rr.com>
Mon, 27 Jan 2014 15:17:37 +0000 (10:17 -0500)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 Jan 2014 19:37:45 +0000 (20:37 +0100)
commite560623050693d2550d0bfb3b092e6398249176e
tree8f9f928ba3872984de871187e578041addb877d6
parentd902f4724ccd0c6b8f2b0a7d22af428c637b6dda
HID: sony: add output events for the multi-touch pad on the Dualshock 4

Add output events for the multi-touch pad on the Dualshock 4.

The touchpad has a resolution of 1920x940 and is capable of 2 simultaneous
touches. A 'Type B' stateful slot protocol is implemented as defined in
Documentation/input/multi-touch-protocol.txt

Applications can use the touchpad data by processing the ABS_MT_SLOT,
ABS_MT_TRACKING_ID, ABS_MT_POSITION_X and ABS_MT_POSITION_Y events.

Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c