]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite2554273f17f827abccfd00b9128bd9281efeeb4
tree920940baeccb9ceef567b24b240b8978b16e50e1
parent972ae7043d88bf320888aca7fefa53c2d836d4a5
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