Descriptiongamepad: linux: use input device parent, not USB
The input device parent of a joystick device already has the vendor and
product id as well as a name attribute that combines the manufacturer
and product name, use this instead of the USB device parent giving us
support for non-USB (i.e. Bluetooth) gamepads.
BUG=chromium-os:30273
TEST=PS3 controller shows up with correct mappings when connected via Bluetooth.
Change-Id: Ifa9ed24a4c9b9a5b2c98aad862fc77a520233e0d
R=scottmg@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135272
Patch Set 1 #Patch Set 2 : use USB strings over Input if for the same device ids #
Total comments: 1
Patch Set 3 : separate the extension of the string #Messages
Total messages: 19 (0 generated)
|