Package: mupen64plus-input-sdl / 2.0-4

autoconfig_xinput.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
Description: Add support for XInput version of Xbox360 controller
Author: Sven Eckelmann <sven@narfation.org>

---
diff --git a/data/InputAutoCfg.ini b/data/InputAutoCfg.ini
index 3e3fc8b9a48b34d8ab2137ad11afa579f2f0654b..9600566f75735c114b56835874b4b2806ababec5 100644
--- a/data/InputAutoCfg.ini
+++ b/data/InputAutoCfg.ini
@@ -515,6 +515,35 @@ Rumblepak switch =
 X Axis = axis(0-,0+)
 Y Axis = axis(1-,1+)
 
+[XInput: Microsoft X-Box 360 pad]
+[XInput: Controller (XBOX 360 For Windows)]
+[XInput: XBOX 360 For Windows (Controller)]
+[XInput: XBOX 360 For Windows]
+[XInput: Xbox 360 Wireless Receiver]
+plugged = True
+plugin = 2
+mouse = False
+AnalogDeadzone = 4096,4096
+AnalogPeak = 32768,32768
+DPad R = button(3)
+DPad L = button(2)
+DPad D = button(1)
+DPad U = button(0)
+Start = button(4)
+Z Trig = axis(4+)
+B Button = button(12)
+A Button = button(10)
+C Button R = axis(2+)
+C Button L = axis(2-) button(13)
+C Button D = axis(3+) button(11)
+C Button U = axis(3-)
+R Trig = button(9) axis(5+)
+L Trig = button(8)
+Mempak switch = 
+Rumblepak switch = 
+X Axis = axis(0-,0+)
+Y Axis = axis(1-,1+)
+
 [N64 controller]
 plugged = True
 plugin = 2