Package: mupen64plus-input-sdl / 2.0-4

autoconfig_twin_gamepad.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Description: Add support for Twin USB Vibration Gamepad
Origin: upstream, https://bitbucket.org/richard42/mupen64plus-input-sdl/commits/52b8865b5c7a8525034b0d980d46053ae07b297f

---
diff --git a/data/InputAutoCfg.ini b/data/InputAutoCfg.ini
index 69bc792de263f524a0ac8686d02e61a1fc97034e..7d1479c959b40f237901a96a1d79a28252f1fa5f 100644
--- a/data/InputAutoCfg.ini
+++ b/data/InputAutoCfg.ini
@@ -564,6 +564,32 @@ Rumblepak switch = key(114)
 X Axis = axis(0-,0+)
 Y Axis = axis(1-,1+)
 
+[PLAYSTATION(R)3 Controller]
+[SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller]
+plugged = True
+plugin = 2
+mouse = False
+AnalogDeadzone = 4096,4096
+AnalogPeak = 32768,32768
+DPad R = button(5)
+DPad L = button(7)
+DPad D = button(6)
+DPad U = button(4)
+Start = button(3)
+Z Trig = button(8)
+B Button = button(15)
+A Button = button(14)
+C Button R = axis(2+)
+C Button L = axis(2-)
+C Button D = axis(3+)
+C Button U = axis(3-)
+R Trig = button(11)
+L Trig = button(10)
+Mempak switch = 
+Rumblepak switch = 
+X Axis = axis(0-,0+)
+Y Axis = axis(1-,1+)
+
 [SAITEK P880]
 plugged = True
 plugin = 2
@@ -739,29 +765,28 @@ Rumblepak switch =
 Y Axis = axis(1-,1+)
 X Axis = axis(0-,0+)
 
-[SHENGHIC 2009/0708ZXW-V1Inc. PLAYSTATION(R)3Conteroller]
-[PLAYSTATION(R)3 Controller]
+[Twin USB Vibration Gamepad]
 plugged = True
 plugin = 2
 mouse = False
 AnalogDeadzone = 4096,4096
 AnalogPeak = 32768,32768
-DPad R = button(5)
-DPad L = button(7)
-DPad D = button(6)
-DPad U = button(4)
-Start = button(3)
-Z Trig = button(8)
-B Button = button(15)
-A Button = button(14)
-C Button R = axis(2+)
-C Button L = axis(2-)
-C Button D = axis(3+)
-C Button U = axis(3-)
-R Trig = button(11)
-L Trig = button(10)
-Mempak switch = 
-Rumblepak switch = 
+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(7)
+B Button = button(0)
+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(6)
+L Trig = button(4)
+Mempak switch =
+Rumblepak switch =
 X Axis = axis(0-,0+)
 Y Axis = axis(1-,1+)