Switch axis in advmame and fix exit with start + select

Like I said in my previous post I had to rotate my joystick for 90 degrees so I needed to figure out how to change the controls to fit my new layout.

One thing that annoyed me with AdvMAME was when you map exit from the emulator to Select + Start you get this nagging message asking to “Continue” or “Exit”.

In order to remove this message find in /opt/retropie/configs/mame-advmame/advmame-1.4.rc following line:

misc_safequit yes

and change to

misc_safequit no

Following configuration I have edited through AdvMAME menu to fit my rotated joystick setup, and it can be found at the end of the same file:

input_map[start1] joystick_button[0,7] or keyboard[0,1]
input_map[coin1] keyboard[0,5] or joystick_button[0,6]
input_map[ui_up] keyboard[0,up] or joystick_digital[0,0,0,0]
input_map[ui_down] keyboard[0,down] or joystick_digital[0,0,0,1]
input_map[ui_left] keyboard[0,left] or joystick_digital[0,0,1,1]
input_map[ui_right] keyboard[0,right] or joystick_digital[0,0,1,0]
input_map[ui_cancel] joystick_button[0,6] joystick_button[0,7] or keyboard[0,esc]

Just in case you find yourself in a situation where you mapped your menu key wrongly or you have made some other mistake, it is safe to delete these lines and start over mapping through AdvMAME menu that you can enter with TAB key by default.

2 Replies to “Switch axis in advmame and fix exit with start + select”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.