HID: usbhid: Add a quirk for raphnet multi-gamepad adapters
authorRaphael Assenat <raph@raphnet.net>
Sat, 25 Apr 2015 20:30:32 +0000 (16:30 -0400)
committerJiri Kosina <jkosina@suse.cz>
Mon, 27 Apr 2015 08:59:09 +0000 (10:59 +0200)
commitd6ea2f88ac3659b799d8079a4fbda4f8faf6ff90
tree920940baeccb9ceef567b24b240b8978b16e50e1
parent8de29a35dc840a05e451ad035bcb06e21ccf605f
HID: usbhid: Add a quirk for raphnet multi-gamepad adapters

The raphnet.net 4nes4snes and 2nes2snes multi-joystick adapters use a single
HID report descriptor with one report ID per controller. This has the effect
that the inputs of otherwise independent game controllers get packed in one
large joystick device.

With this patch each controller gets its own /dev/input/jsX device, which is
more natural and less confusing than having all inputs going to the same place.

Signed-off-by: Raphael Assenat <raph@raphnet.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c