Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: jasper502 on February 06, 2020, 12:26:19 PM

Title: Assigning the Config / Escape key to a button
Post by: jasper502 on February 06, 2020, 12:26:19 PM
I seem to be missing something here.  I have a cheap windows PC with Ubuntu installed with Attaract / MAME.  I built a cabinet and used the x-arcade DYI controls kit.  Gameplay is fine.  On the keyboard TAB opens the config menu and ESC exits the game.

I configured two of my buttons for these keys so that when in normal operation (no key board) I can exit the game from my console.  The problem is that doesn't work.  I have to use the keyboard.  When I configure Attract the button down events trigger in the configuration menu so I know the buttons work.

Am I missing an Attract / MAME specific issue here?
Title: Re: Assigning the Config / Escape key to a button
Post by: hermine.potter on February 08, 2020, 10:39:16 AM
@ jasper502
could you post your emulator config?

folder of attract\emulators\your_emulator.cfg
Title: Re: Assigning the Config / Escape key to a button
Post by: jasper502 on February 10, 2020, 08:22:59 PM
I think I figured it out. I set the buttons in Mame also with Attract and now it works. 👍