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

STALE5202d

2 messages, 1 author, 2012-07-11 · open the first message on its own page

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

From: Yuri Khan <hidden>
Date: 2012-07-11 16:03:47

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

From: Yuri Khan <hidden>
Date: 2012-07-11 16:03:59

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
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help