Skip to content

Commit 805423e

Browse files
MostAwesomeDudedtor
authored andcommitted
Input: xpad - add USB ID for the drumkit controller from Rock Band
Signed-off-by: Corbin Simpson <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent fb962e1 commit 805423e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/input/joystick/xpad.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ static const struct xpad_device {
144144
{ 0x1430, 0x4748, "RedOctane Guitar Hero X-plorer", MAP_DPAD_TO_AXES, XTYPE_XBOX360 },
145145
{ 0x1430, 0x8888, "TX6500+ Dance Pad (first generation)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX },
146146
{ 0x045e, 0x028e, "Microsoft X-Box 360 pad", MAP_DPAD_TO_AXES, XTYPE_XBOX360 },
147+
{ 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
147148
{ 0xffff, 0xffff, "Chinese-made Xbox Controller", MAP_DPAD_TO_AXES, XTYPE_XBOX },
148149
{ 0x0000, 0x0000, "Generic X-Box pad", MAP_DPAD_UNKNOWN, XTYPE_UNKNOWN }
149150
};
@@ -208,6 +209,7 @@ static struct usb_device_id xpad_table [] = {
208209
XPAD_XBOX360_VENDOR(0x0738), /* Mad Catz X-Box 360 controllers */
209210
XPAD_XBOX360_VENDOR(0x0e6f), /* 0x0e6f X-Box 360 controllers */
210211
XPAD_XBOX360_VENDOR(0x1430), /* RedOctane X-Box 360 controllers */
212+
XPAD_XBOX360_VENDOR(0x1bad), /* Rock Band Drums */
211213
{ }
212214
};
213215

0 commit comments

Comments
 (0)