HID: Add driver for Retrode2 joypad adapter
authorBastien Nocera <hadess@hadess.net>
Tue, 20 Jun 2017 16:13:37 +0000 (18:13 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 22 Jun 2017 12:44:11 +0000 (14:44 +0200)
commit13b2e1ba486f07ccd26e01c563b52a9171b2c255
treedb8d23086f8428009a84003e1253e29f8db91745
parentdb1b5ccd27a37840af5c868f82f36d5d33430b96
HID: Add driver for Retrode2 joypad adapter

This driver does 2 things:

 - Apply the MULTI_INPUT quirk to create separate joypad device nodes
   for each one of the 4 connectors.
 - Rename the input devices so that their names are different, and allow
   users to recognise which device corresponds to which physical port,
   including the SNES (Mario Paint) Mouse.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-retrode.c [new file with mode: 0644]