Package: mupen64plus-input-sdl / 2.0-4

autoconfig_twin_usb.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: Add support for Twin USB Gamepad
Author: Richard Goedeken <Richard@fascinationsoftware.com>

---
diff --git a/data/InputAutoCfg.ini b/data/InputAutoCfg.ini
index 6214f1ce27d9d4f1cb0089cf7be31befd2f278be..b1edc9a84f221d7983ecf0a8efbb29c9b382e393 100644
--- a/data/InputAutoCfg.ini
+++ b/data/InputAutoCfg.ini
@@ -966,6 +966,33 @@ Rumblepak switch =
 X Axis = axis(0-,0+)
 Y Axis = axis(1-,1+)
 
+;Twin USB PS-controller lookalike, branded "POWER PAD".
+;The controller closest to the USB-plug is Player 1.
+[Twin USB Gamepad]
+plugged = True
+plugin = 2
+mouse = False
+AnalogDeadzone = 4096,4096
+AnalogPeak = 32768,32768
+DPad R = hat(0 Right)
+DPad L = hat(0 Left)
+DPad D = hat(0 Down)
+DPad U = hat(0 Up)
+Start = button(9)
+Z Trig = button(4)
+B Button = button(3)
+A Button = button(2)
+C Button R = axis(3+)
+C Button L = axis(3-)
+C Button D = axis(2+)
+C Button U = axis(2-)
+R Trig = button(7)
+L Trig = button(6)
+Mempak switch =
+Rumblepak switch =
+Y Axis = axis(1-,1+)
+X Axis = axis(0-,0+)
+
 [WiseGroup.,Ltd TigerGame XBOX+PS2+GC Game Controller Adapter]
 plugged = True
 plugin = 2