INPUT: xpad: switch Logitech G920 Wheel into HID mode
authorSimon Wood <simon@mungewell.org>
Thu, 19 Nov 2015 23:42:10 +0000 (16:42 -0700)
committerJiri Kosina <jkosina@suse.cz>
Fri, 20 Nov 2015 09:27:34 +0000 (10:27 +0100)
commit27b9d5a254dcbc6095404c1bab7c335419601eb8
tree393a513d6fde498b24e90ce7cb9214d1d4856d77
parent6a13feb9c82803e2b815eca72fa7a9f5561d7861
INPUT: xpad: switch Logitech G920 Wheel into HID mode

When plugged in the Logitech G920 wheel starts with USBID 046d:c261
and behaviors as a vendor specific class. If a 'magic' byte sequence
is sent the wheel will detach and reconnect as a HID device with the
USBID 046d:c262.

Signed-off-by: Simon Wood <simon@mungewell.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/input/joystick/xpad.c