]> git.baikalelectronics.ru Git - kernel.git/commit
HID: sony: Add modified Dualshock 4 Bluetooth HID descriptor
authorFrank Praznik <frank.praznik@oh.rr.com>
Thu, 6 Feb 2014 01:03:45 +0000 (20:03 -0500)
committerJiri Kosina <jkosina@suse.cz>
Mon, 17 Feb 2014 13:11:06 +0000 (14:11 +0100)
commit048d88521836d091c4b192dc3e97da86c28febfe
treebf08005448d0c22121bd6912bd1860185fbeacf7
parentcda001f46f1e7e165dcce0baf3ef1cf2d8e43c66
HID: sony: Add modified Dualshock 4 Bluetooth HID descriptor

By default, the Dualshock 4 sends controller data via report 1. Once a valid
output report 0x11 is received or a feature report of type 0x02 is requested the
controller changes from sending data in report 1 to sending data in report 17,
which is unmapped in the default descriptor. The mappings have to be moved to
report 17 to let the HID driver properly process the incoming reports.

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