Merge pull request #53 from brooksytech/mupensa_fix

Mupen Control Fix for 351 devices
This commit is contained in:
Brooksytech 2022-04-06 05:38:07 -07:00 committed by GitHub
commit c6532c0dbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 201 additions and 52 deletions

View file

@ -0,0 +1,25 @@
; RG351MP Gamepad - default.ini
[GO-Super Gamepad]
plugged = True
mouse = False
AnalogDeadzone = 0,0
AnalogPeak = 32768,32768
DPad R = button(11)
DPad L = button(10)
DPad D = button(9)
DPad U = button(8)
Start = button(13)
Z Trig = button(15)
B Button = button(3)
A Button = button(0)
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 =
# Analog axis configuration mappings
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)

View file

@ -0,0 +1,25 @@
; RG351MP Gamepad - zlswap.ini
[GO-Super Gamepad]
plugged = True
mouse = False
AnalogDeadzone = 0,0
AnalogPeak = 32768,32768
DPad R = button(11)
DPad L = button(10)
DPad D = button(9)
DPad U = button(8)
Start = button(13)
Z Trig = button(4)
B Button = button(3)
A Button = button(0)
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(15)
Mempak switch =
Rumblepak switch =
# Analog axis configuration mappings
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)

View file

@ -0,0 +1,25 @@
; RG351P Gamepad - default.ini
[OpenSimHardware OSH PB Controller]
plugged = True
mouse = False
AnalogDeadzone = 0,0
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(6)
Z Trig = button(9)
B Button = button(3)
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 =
# Analog axis configuration mappings
X Axis = axis(0+,0-)
Y Axis = axis(1+,1-)

View file

@ -0,0 +1,25 @@
; RG351P Gamepad - zlswap.ini
[OpenSimHardware OSH PB Controller]
plugged = True
mouse = False
AnalogDeadzone = 0,0
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(6)
Z Trig = button(4)
B Button = button(3)
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(9)
Mempak switch =
Rumblepak switch =
# Analog axis configuration mappings
X Axis = axis(0+,0-)
Y Axis = axis(1+,1-)

View file

@ -0,0 +1,25 @@
; RG351P Gamepad - zlswap.ini
[OpenSimHardware OSH PB Controller]
plugged = True
mouse = False
AnalogDeadzone = 0,0
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(6)
Z Trig = button(9)
B Button = button(3)
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 =
# Analog axis configuration mappings
X Axis = axis(0+,0-)
Y Axis = axis(1+,1-)

View file

@ -0,0 +1,25 @@
; RG351V Gamepad - zlswap.ini
[OpenSimHardware OSH PB Controller]
plugged = True
mouse = False
AnalogDeadzone = 0,0
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(6)
Z Trig = button(4)
B Button = button(3)
A Button = button(1)
C Button R = button(11)
C Button L = button(2)
C Button D = button(0)
C Button U = button(10)
R Trig = button(5)
L Trig = button(9)
Mempak switch =
Rumblepak switch =
# Analog axis configuration mappings
X Axis = axis(0+,0-)
Y Axis = axis(1+,1-)

View file

@ -1,25 +1,25 @@
; RG552 Gamepad - default.ini
[retrogame_joypad]
plugged = True
mouse = False
AnalogDeadzone = 0,0
AnalogPeak = 32768,32768
DPad R = button(16)
DPad L = button(15)
DPad D = button(14)
DPad U = button(13)
Start = button(9)
Z Trig = button(6)
B Button = button(3)
A Button = button(0)
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 =
# Analog axis configuration mappings
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)
; RG552 Gamepad - default.ini
[retrogame_joypad]
plugged = True
mouse = False
AnalogDeadzone = 0,0
AnalogPeak = 32768,32768
DPad R = button(16)
DPad L = button(15)
DPad D = button(14)
DPad U = button(13)
Start = button(9)
Z Trig = button(6)
B Button = button(3)
A Button = button(0)
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 =
# Analog axis configuration mappings
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)

View file

@ -1,25 +1,25 @@
; RG552 Gamepad - zlswap.ini
[retrogame_joypad]
plugged = True
mouse = False
AnalogDeadzone = 0,0
AnalogPeak = 32768,32768
DPad R = button(16)
DPad L = button(15)
DPad D = button(14)
DPad U = button(13)
Start = button(9)
Z Trig = button(4)
B Button = button(3)
A Button = button(0)
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(6)
Mempak switch =
Rumblepak switch =
# Analog axis configuration mappings
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)
; RG552 Gamepad - zlswap.ini
[retrogame_joypad]
plugged = True
mouse = False
AnalogDeadzone = 0,0
AnalogPeak = 32768,32768
DPad R = button(16)
DPad L = button(15)
DPad D = button(14)
DPad U = button(13)
Start = button(9)
Z Trig = button(4)
B Button = button(3)
A Button = button(0)
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(6)
Mempak switch =
Rumblepak switch =
# Analog axis configuration mappings
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)

View file

@ -39,6 +39,5 @@ makeinstall_target() {
#$STRIP ${UPLUGINDIR}/mupen64plus-input-sdl.so
chmod 0644 ${UPLUGINDIR}/mupen64plus-input-sdl.so
mkdir -p ${USHAREDIR}
cp ${PKG_DIR}/config/* ${USHAREDIR}
chmod 644 ${USHAREDIR}/InputAutoCfg.ini
cp ${PKG_DIR}/config/${DEVICE}/* ${USHAREDIR}
}