Package: mupen64plus-input-sdl / 2.0-4

autoconfig_wiimote_classic.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
Description: Add support for Nintendo Wiimote Classic
Origin: upstream, https://bitbucket.org/richard42/mupen64plus-input-sdl/commits/6c68ff547c39a04a8d20e49806030be58af02cb9

---
diff --git a/data/InputAutoCfg.ini b/data/InputAutoCfg.ini
index 824690537b2f22ac932f4e7f076c159f43c5a8fd..b3bbc357906d2718a6632939d18971895d243f58 100644
--- a/data/InputAutoCfg.ini
+++ b/data/InputAutoCfg.ini
@@ -514,6 +514,31 @@ Rumblepak switch = key(114)
 X Axis = axis(0-,0+)
 Y Axis = axis(1-,1+)
 
+[Nintendo Wiimote Classic]
+plugged = True
+plugin = 2
+mouse = False
+AnalogDeadzone = 4096,4096
+AnalogPeak = 32768,32768
+DPad R = button(23)
+DPad L = button(22)
+DPad D = button(21)
+DPad U = button(20)
+Start = button(17)
+Z Trig = button(24)
+B Button = button(14)
+A Button = button(13)
+C Button R = axis(2+)
+C Button L = axis(2-)
+C Button D = axis(3+)
+C Button U = axis(3-)
+R Trig = button(25)
+L Trig = button(26)
+Mempak switch = button(16)
+Rumblepak switch = button(15)
+X Axis = axis(4-,4+)
+Y Axis = axis(5-,5+)
+
 [PC Game Controller]
 plugged = True
 plugin = 2