Input: xpad - Add Andamiro Pump It Up pad

Started by Yuri Khan on Jul 11, 2012 · 2 messages from 1 author · Last reply Jul 11, 2012

Series

1 patch, 1 file

+1 −0

Subsystems (2)

Maintainers (2)

STALE5257d

open the first message on its own page

  1. [PATCH 1/1] Input: xpad - Add Andamiro Pump It Up pad
    Related patches
Message details and related content
Hello all,

while I'm at it, I'd like to add my other dance mat to xpad's database 
of known devices, so that the user does not have to specify the 
dpad_to_buttons option.

I couldn't find the vendor ID in any of the online databases, but this 
mat has a Pump It Up logo on the top side of the controller compartment, 
and a disclaimer stating that Andamiro will not be liable on the bottom.

checkpath.pl flagged this patch for adding an overlong line but the 
surrounding code does not adhere to the 80-column rule.

Yuri Khan (1):
  Input: xpad - Add Andamiro Pump It Up pad

 drivers/input/joystick/xpad.c |    1 +
 1 file changed, 1 insertion(+)

-- 
1.7.9.5

[PATCH 1/1] Input: xpad - Add Andamiro Pump It Up pad

Message details and related content
Signed-off-by: Yuri Khan <redacted>
---
 drivers/input/joystick/xpad.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index 16974ef..a2cdfd6 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -142,6 +142,7 @@ static const struct xpad_device {
 	{ 0x0c12, 0x880a, "Pelican Eclipse PL-2023", 0, XTYPE_XBOX },
 	{ 0x0c12, 0x8810, "Zeroplus Xbox Controller", 0, XTYPE_XBOX },
 	{ 0x0c12, 0x9902, "HAMA VibraX - *FAULTY HARDWARE*", 0, XTYPE_XBOX },
+	{ 0x0d2f, 0x0002, "Andamiro Pump It Up pad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX },
 	{ 0x0e4c, 0x1097, "Radica Gamester Controller", 0, XTYPE_XBOX },
 	{ 0x0e4c, 0x2390, "Radica Games Jtech Controller", 0, XTYPE_XBOX },
 	{ 0x0e6f, 0x0003, "Logic3 Freebird wireless Controller", 0, XTYPE_XBOX },
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help