Package: mupen64plus-input-sdl / 2.5-3

add-auto-config-for-Snakebyte-PS3-style-USB-controll.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
From: Richard Goedeken <Richard@fascinationsoftware.com>
Date: Sat, 6 Jun 2015 08:42:32 -0700
Subject: add auto-config for Snakebyte PS3-style USB controller from user on
 google group mailing list

Origin: upstream, https://github.com/mupen64plus/mupen64plus-input-sdl/commit/763107feb0a11a1b99cef129b5de2de8c565e93e
---
 data/InputAutoCfg.ini | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/data/InputAutoCfg.ini b/data/InputAutoCfg.ini
index 155c27a..96df61b 100644
--- a/data/InputAutoCfg.ini
+++ b/data/InputAutoCfg.ini
@@ -769,6 +769,32 @@ Rumblepak switch =
 X Axis = axis(0-,0+)
 Y Axis = axis(1-,1+)
 
+;Snakebyte PS3-style USB controller
+[MY-POWER CO.,LTD. 2In1 USB Joystick]
+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(7)
+B Button = button(2)
+A Button = button(1)
+C Button R = axis(2+)
+C Button L = axis(2-)
+C Button D = axis(3+)
+C Button U = axis(3-)
+R Trig = button(5)
+L Trig = button(4)
+Mempak switch = 
+Rumblepak switch = 
+X Axis = axis(0-,0+)
+Y Axis = axis(1-,1+)
+
 [N64 controller]
 plugged = True
 plugin = 2