HID: sony: support for the ghlive ps4 dongles
authorDaniel Nguyen <daniel.nguyen.1@ens.etsmtl.ca>
Tue, 10 Aug 2021 14:09:32 +0000 (10:09 -0400)
committerJiri Kosina <jkosina@suse.cz>
Fri, 20 Aug 2021 12:56:05 +0000 (14:56 +0200)
commita4bfe13f96bf8b1b2f233d16e960a3e0680d67fb
tree4b8902e719efcce7ce8cb6ec7eb602abb1c6fafb
parentdf04fbe8680bfe07f3d7487eccff9f768bb02533
HID: sony: support for the ghlive ps4 dongles

This commit adds support for the Guitar Hero Live PS4 dongles.

These dongles require a "magic" USB control message to be sent
every 8 seconds otherwise the dongle will not report events where
the strumbar is hit while a fret is being held.

Note that the GHL_GUITAR_POKE_INTERVAL is reduced to 8 seconds in order
to support PS3, Wii U, and PS4 GHL dongles.

Also note that the constant for vendor id 0x1430 has been renamed from
Activision to RedOctane as self-declared by the device.

Co-developed-by: Pascal Giard <pascal.giard@etsmtl.ca>
Signed-off-by: Pascal Giard <pascal.giard@etsmtl.ca>
Signed-off-by: Daniel Nguyen <daniel.nguyen.1@ens.etsmtl.ca>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-ids.h
drivers/hid/hid-sony.c