summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-gembird.c
Commit message (Collapse)AuthorAgeFilesLines
* HID: gembird: add new driver to fix Gembird JPD-DualForce 2Benjamin Tissoires2015-08-181-0/+116
This gamepad advertise 5 absolute axis while 4 are actually used. The second Z axis shows some garbage, so it has to be ignored by HID. The first Z axis and the Rz one are actually Rx and Ry. Remap them. We could also just remap and ignore the axis in .input_mapping(). I went ahead with .report_fixup() first, so here it is. Reported-by: Orivej Desh <orivej@gmx.fr> Tested-by: Orivej Desh <orivej@gmx.fr> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>