Does anybody know how to or have a link to a tutorial how to map two buttons on a xin-mo controller to exit to the pimame main menu. I would like to map the buttons so that when I press, lets say player 1 start and coin button together the whole system will exit back to the pimame main menu. I would like this to happen even if the emulator has gone out to command line as well. Hope someone can help. Many thanks in advance.
I think you can try with physical cabling. If you wire the buttons you want to use in serial to the [esc]-key. But remember, that the emulator will recognize both buttons as pressed, too and will react to that!! This will work only for exiting from out of the game. It won't start the menu from the command line when the emulator chrashed or something.
Regards, Mathes
Pin1 for ESC -------[button1]----[button2]----- Pin2 for ESC ==> Only when both buttons are pressed, emulator will recognize [esc]. Sure the buttons should still be wired to their "real" keys ;-)
Thanks so much guys, I am a bit of a noob, thanks ian57 for the details. Mathes75, what file do i need to edit to do the commands for pin1 like you explained?
That would be amazing. I just think there are a lot of guys who are building picades at the moment with multiple emulators and it would be amazing to have a standard exit combination to return to the main menu.
Yeah.... With Xin MO pp Beta 5 I tried mapping Duel button exit but with P1 Start and P2 start but when I hit P2 to start a 2 player game it exits.... Also when a game is over it restarts instead of going to the Free play menu. Unless we start game using the keyboard, then it will go to the free play menu any thoughts
I think I didn't recognise the usage of a Xin Mo in the right way. Is it an Joystic/Controller chip that is used to build a Joystick, or is it a modified keyboard controller, that emulates the keys pressed? If it is recognised as Joystick/Controller - forget my suggestions as the [ESC] key is not available on the Xin Mo ;) Sorry!
I am running the latest version of pimame/piplay. In the main menu there is an option to map the controller keys/buttons. This is awesome. I have allocated a button for each controller to exit the program. However, when i press the button this does not work for any of the emulators. Any advice?
in the main menu, there is only controller setup for the emulators, not piplay itself. You need to edit /home/pi/pimame/pimame-menu/controller.yaml in order to change those settings
Thanks alot, i have messed around with the individual emulators but I only have trouble with the NES emulator exiting as the exit program button and escape on my keyboard wont allow me to exit the emulator?