I’m using the 8bitdo SN30 Pro controller and I want to map the R2 button to the Z-trigger of the N64. In the mupen64plus.cfg the bindings for controller 1 is:
[Input-SDL-Control1]
Version = 2
mode = 0
device = 0
name = “Microsoft X-Box 360 pad”
plugged = True
plugin = 2
AnalogDeadzone = “0,0”
AnalogPeak = “32768,32768”
mouse = False
Mempak switch = “button(9)”
Rumblepak switch = “button(10)”
C Button R = “axis(3+) button(1)”
A Button = “button(0)”
C Button U = “axis(4-) button(3)”
B Button = “button(2)”
Start = “button(7)”
L Trig = “button(4)”
R Trig = “button(5)”
Z Trig = “axis(2+)”
DPad U = “hat(0 Up)”
DPad D = “hat(0 Down)”
DPad R = “hat(0 Right)”
DPad L = “hat(0 Left)”
Y Axis = “axis(1-,1+)”
X Axis = “axis(0-,0+)”
C Button D = “axis(4+)”
C Button L = “axis(3-)”
I attempted to set Z Trig = “axis(2+)” to Z Trig = “axis(2+) axis(2-)” but that change didn’t save after launching the emulator. I also tried adding a new line under the current one as Z Trig = “axis(2-)” yet the change still didn’t save. Whenever I launch the emulator the changes that I added in the .mupen64plus.cfg gets removed.
Please help. How do I go about binding the R2 trigger of my controller to act as Z-trigger? I want both L2 and R2 to act as the Z-trigger in N64 games.