Input: gamecon - simplify pad type handling
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Feb 2010 04:54:54 +0000 (20:54 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Feb 2010 06:10:01 +0000 (22:10 -0800)
commit0995174dda3e97d70fd9c335c55041b6b5aa11dd
tree6915fcaaea6f3f30994c82830d207fbc9cd77b3a
parent315543fd112ae3b573bc44e7dbfef99c11714610
Input: gamecon - simplify pad type handling

Instead of having array bitmasks by type for all gamepads have explicit
type field in every pad structure.

Tested-by: Scott Moreau <oreaus@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/gamecon.c