Have you ever tried to map a Mugen input on a "Trigger" button of your preferred controller using Mugen's joystick input options ? You'll see that it "jumps" over 2 (or 3) inputs at once ! Very annoying !
Spoiler: why does it jump over 3 inputs ? (click to see content)
The reason is because those "trigger" buttons have 3 different input triggers :
- activating +/- axis - position set (depending on trigger's sensivity)
- releasing +/- axis - reset position (depending on trigger's sensivity)
- activating a button when reaching max position (for some manufacturers only)
The best way is to manually assign buttons through mugen.cfg file, using a text editor (by default, you'll find the mugen.cfg file in the /data subfolder of your mugen folder).
>>> GENERAL STUFF <<<
In mugen.cfg file, you'll be looking for the [Input] section, on the lower part of the file. It looks like :
[Input]
P1.UseKeyboard = 1
P2.UseKeyboard = 1
;Joystick type:
;0 - Disabled
;1 - Enabled
P1.Joystick.type = 1
P2.Joystick.type = 1
First, make sure "Joystick.type" is 1 to enable joystick use (obvious, but you never know ...)
Then, few lines below, you'll be looking for [P1 Joystick] and [P2 Joystick] subsections.
Spoiler: In my case (P1 Joystick) looks like this : (click to see content)
[P1 Joystick] ; Saitek cyborg-pad hitbox controller
Jump = 11
Crouch = 12
Left = 13
Right = 14
A = 16
B = 18
C = 20
X = 15
Y = 17
Z = 19
Start = 24
For each Mugen input, you have figures that correspond to buttons of your controller.
And every manufacturer has is own button numbering . So there is no "universal" numbering or such.
Still, here are button numbers for two popular controllers, (FOR PLAYER1 !!!)
Spoiler: PS4 controller button numbers for mugen.cfg (click to see content)
Up : 13
Down : 14
Left : 15
Right : 16
square : 17
cross : 18
circle : 19
triangle : 20
L1 : 21
R1 : 22
L2 : 23
R2 : 24
Start : 24
Spoiler: Xbox360 controller button numbers for mugen.cfg (click to see content)
(left stick)
Up : 01
Down : 02
Left : 03
Right : 04
(D pad)
Up : 23
Down : 24
Left : 25
Right : 26
A : 17
B : 18
X : 19
Y : 20
LB : 21
RB : 22
LT : 06
RT : 08
Start : 24
You can use those numbers for Player1 input controls only. For Player2 inputs, you should add (32) to each input figure.
For instance, a Player2 using an xbox360 controller will have his RB input number being 22+32=54 .
>>> READY TO USE STUFF <<<
Here below is a somewhat "common" input configuration you can find by default on many FG games
Spoiler: common button layout (click to see content)
If your comfortable with this input config, you can just copy/paste the following [Joystic] sections corresponding to your controllers for each player !
Spoiler: Player 1 PS4 type controller (click to see content)
[P1 Joystick]
Jump = 13
Crouch = 14
Left = 15
Right = 16
A = 17
B = 20
C = 22
X = 18
Y = 19
Z = 24
Start = 26
Spoiler: Player 2 PS4 type controller (click to see content)
[P2 Joystick]
Jump = 45
Crouch = 46
Left = 47
Right = 48
A = 49
B = 52
C = 54
X = 50
Y = 51
Z = 56
Start = 58
Spoiler: Player 1 Xbox360 type controller (click to see content)
[P1 Joystick]
Jump = 1
Crouch = 2
Left = 3
Right = 4
A = 19
B = 20
C = 22
X = 17
Y = 18
Z = 8
Start = 24
Spoiler: Player 2 Xbox360 type controller (click to see content)
[P2 Joystick]
Jump = 33
Crouch = 34
Left = 35
Right = 36
A = 51
B = 52
C = 54
X = 49
Y = 50
Z = 40
Start = 56