Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Emulator Exit When Using a USB Gamepad  (Read 2764 times)

0 Members and 1 Guest are viewing this topic.

bobbernier

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • Last login:January 15, 2011, 08:34:39 am
Emulator Exit When Using a USB Gamepad
« on: October 04, 2010, 05:08:57 pm »
I'm using MALA with a hacked USB pad, 9 buttons. I can't figure out how to map a button to the exit function. When I look at the control panel the button I want to use corresponds with button 9, however using 9 as my exit is not working.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Emulator Exit When Using a USB Gamepad
« Reply #1 on: October 05, 2010, 05:44:34 am »
I just Plugged in my USB joypad and set Exit to button 9 and it worked fine.

It Exited MaLa as expected.

If you mean 'exit' game that needs to be set in Mame or whatever emulator you are running.



BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:July 24, 2025, 02:05:45 pm
  • ...
Re: Emulator Exit When Using a USB Gamepad
« Reply #2 on: October 05, 2010, 12:28:40 pm »
AutoHotKey can map the gamepad button to whatever keyboard key you need to press to exit.
You can then set that key to close the program in Mala hotkeys or in the emulator itself.

My trackball had hookups for a middle mouse button that weren't being used, so I mapped it to ESC.
It has worked for everything, even games I had trouble closing before.