]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 28 Jun 2015 17:39:19 +0000 (13:39 -0400)
commit7f184d52edad5f06d8bfa1647462c3500ae44755
tree68c46f82d36222d6f58103b94fadd5e2b2e223ac
parentd6a71d132d7d63cc72e00a443174d0bb5e0ba6cf
HID: usbhid: Add a quirk for raphnet multi-gamepad adapters

[ Upstream commit d6ea2f88ac3659b799d8079a4fbda4f8faf6ff90 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c