-
This is an example to use NumberPad Keys on Ikemen in the Config.ssz
Spoiler, click to toggle visibilty
in.new[1].set(
-1, (int)k_t::UP, (int)k_t::DOWN, (int)k_t::LEFT, (int)k_t::RIGHT,
(int)k_t::KP_1, (int)k_t::KP_2, (int)k_t::KP_3, (int)k_t::KP_4, (int)k_t::KP_5, (int)k_t::KP_6,
(int)k_t::KP_ENTER);
To do this simply Put in "KP_(Number)" in the code
Also the guy who found it used this as a reference https://wiki.libsdl.org/SDL_Keycode (https://wiki.libsdl.org/SDL_Keycode)
Thanks PeeJay Bonobo for finding this
-
Thanks for sharing this neat trick mate ;)
-
Yeah... Fuckin' awesome! Glad someone found out how to do it. I did it once for one guy and never again (that was like, 3-4 years ago). Hope it helps those who need it ^_~
-
For Xbox360 / XboxOne controllers , on a Win10 system, here is what it gives me :
(directions are with the D-pad)
Controller Button | | | Mugen's adress | | | Ikemen's adress | | |
Up | | | 11 | | | -7 | | |
Down | | | 12 | | | -8 | | |
Left | | | 13 | | | -5 | | |
Right | | | 14 | | | -6 | | |
A | | | 15 | | | 0 | | |
B | | | 16 | | | 1 | | |
X | | | 17 | | | 2 | | |
Y | | | 18 | | | 3 | | |
LB | | | 19 | | | 4 | | |
RB | | | 20 | | | 5 | | |
LT | | | 6 | | | -19 | | |
RT | | | 5 | | | -20 | | |
Start | | | 22 | | | 7 | | |
Back | | | 21 | | | 6 | | |
So, for a "classical" button layout (for player1), config.ssz section should be like :
in.new[0].set(
0, -7, -8, -5, -6,
0, 1, 4, 2, 3, 5,
7 );
I hope it helps :)
-
Cool addition :3
In case that doesn't work or there might be a couple of issues, you can always try this:
Spoiler, click to toggle visibilty
At least the in.new[0].set( part (which is Player 1).
(https://puu.sh/m8fMR/12d07df882.png)
-
For Xbox360 / XboxOne controllers , on a Win10 system, here is what it gives me :
(directions are with the D-pad)
Controller Button | | | Mugen's adress | | | Ikemen's adress | | |
Up | | | 11 | | | -7 | | |
Down | | | 12 | | | -8 | | |
Left | | | 13 | | | -5 | | |
Right | | | 14 | | | -6 | | |
A | | | 15 | | | 0 | | |
B | | | 16 | | | 1 | | |
X | | | 17 | | | 2 | | |
Y | | | 18 | | | 3 | | |
LB | | | 19 | | | 4 | | |
RB | | | 20 | | | 5 | | |
LT | | | 6 | | | -19 | | |
RT | | | 5 | | | -20 | | |
Start | | | 22 | | | 7 | | |
Back | | | 21 | | | 6 | | |
So, for a "classical" button layout (for player1), config.ssz section should be like :
in.new[0].set(
0, -7, -8, -5, -6,
0, 1, 4, 2, 3, 5,
7 );
I hope it helps :)
How did you find the addresses? Could you do this for a Dualshock 4 controller?
-
How did you find the addresses? Could you do this for a Dualshock 4 controller?
Unfortunately, I don't have a DS4 at my disposal.
But I've found the adresses for Xbox controllers after some experimentations.
I have started with :
in.new[0].set(
0, 0, 1, 2, 3,
4, 5, 6, 7, 8, 9,
10 );
Then I saw that 0 actually was not "up" direction , but button "A" on my controller, and 1 was "B" etc.
And I noticed that there was the same difference (15 in my case) between Mugen button adresse figures and Ikemen ones. That's how I found all the "buttons" figures.
For directions, they often have smaller adress figures ... so I thought : smaller than 0 ? Negative figures ? So I tried, and it worked.
Same for triggers.
It took me 30 minutes or so to experiment it all. I'm afraid I can't do better than that to help you here ...
Just in case : have you tried TheFClass' s code ?
Good luck mate ;)
-
I don't use a controller, so no... However, I have had some people try it and it doesn't work quite right. This is most likely due to different controllers, cause some people I know also used this controller scheme and it worked fine for them.
-
Do you guys know what the inputs would be for a
ps1 CTRL, I got the Namco fight stick....wait can I find
The inputs my self my going to my devices and hitting
The config option on the CTRL, It shows the numbers
on the buttons n shit is that how you get it?
-
You go to devices and printers, and check out which button corresponds with what number.
-
wait can I find The inputs my self my going to my devices and hitting
The config option on the CTRL, It shows the numbers
on the buttons n shit is that how you get it?
For Mugen's button numbers, that's exactly how I've done it.
For Windows button numbers, it's as TheFclass said :
You go to devices and printers, and check out which button corresponds with what number.
For Ikemen, I just tried stuff in the config.ssz and saw if they work when launching Ikemen.
Mugen's numbers can give you a hint about Ikemen numbers' range +/- 10 . There seems to be some kind of logic between Mugen's/Ikemen's/Windows button numbers, but I can't tell the exact rule... Maybe some hexadecimal stuff or smthg... I honestly don't know.
-
Do you guys know what the inputs would be for a
ps1 CTRL, I got the Namco fight stick....wait can I find
The inputs my self my going to my devices and hitting
The config option on the CTRL, It shows the numbers
on the buttons n shit is that how you get it?
I think THIS (http://mugenguild.com/forum/topics/ikemen-controller-configuration-179777.0.html) could be more explanatory. ;)