HID: sony: Add support for tilt on guitar hero guitars
authorSanjay Govind <sanjay.govind9@gmail.com>
Fri, 4 Dec 2020 05:45:27 +0000 (18:45 +1300)
committerJiri Kosina <jkosina@suse.cz>
Mon, 18 Jan 2021 09:55:05 +0000 (10:55 +0100)
commit32e411d0af7fbf6e8644632271dc1a241b77877e
treeef7b8e85cb5c012b90987dda880b82bac7659b33
parent2bbe17ae87938ca44756741ec77e3be76a4a0ea0
HID: sony: Add support for tilt on guitar hero guitars

This commit adds support for tilt on Standard Guitar Hero PS3 Guitars, and GH3
PC Guitars, mapping it to ABS_RY.

Note that GH3 PC Guitars are identical, only they use different VID and PIDs.

Also note that vendor id 0x12ba is used by a variety of different rhythm
controllers on the ps3.

Signed-off-by: Sanjay Govind <sanjay.govind9@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-ids.h
drivers/hid/hid-sony.c