diff options
author | Jan Kratochvil <honza@jikos.cz> | 2007-05-09 06:27:37 +0200 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-07-10 06:35:15 +0200 |
commit | c7d9f7eb30dccf601cbdc67d5bd452f54ce90ce4 (patch) | |
tree | 0ca1ade773b9b1f6db1f49bd0c60084753eda9ef /arch/s390 | |
parent | USB: Add USB_DEVICE_INTERFACE_PROTOCOL macro (diff) | |
download | linux-c7d9f7eb30dccf601cbdc67d5bd452f54ce90ce4.tar.xz linux-c7d9f7eb30dccf601cbdc67d5bd452f54ce90ce4.zip |
Input: xpad - add support for Xbox 360 gamepad
Xbox 360 gamepad is slightly different then the previous model so it has
its own version of process_packet method. Detection of this new device
relies on USB_DEVICE_INTERFACE_PROTOCOL macro. This device got vendor
specific subclass so it can't be matched with USB_INTERFACE_INFO and
we need only one interface protocol from four availaible. It means
USB_DEVICE can't be used either.
Added xpad360_btn structure with additional buttons for x360 gamepad.
Added xtype into xpad_device structure to distinguish between different
types of xbox devices.
Signed-off-by: Jan Kratochvil <honza@jikos.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions