HID: ACRUX - handle gamepads with different report layout
authorSergei Kolzun <x0r@dv-life.ru>
Thu, 4 Aug 2011 07:25:57 +0000 (00:25 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 4 Aug 2011 13:25:34 +0000 (15:25 +0200)
commitb55ebc27b0a54ff4cdbfdcb218a85f96e502db3c
tree5466444843c59c434eafa7f56a1cecd659d1d9a6
parent364b936fc38dec7653c690d710e10657af235a36
HID: ACRUX - handle gamepads with different report layout

There are gamepads that share the same VID and PID but have different
report structure - instead of having 4 fields with one value they have
one field that can hold all 4 values. Make the driver cope with devices
using both styles.

Signed-off-by: Sergei Kolzun <x0r@dv-life.ru>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-axff.c