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 --- Bug Reports --- Site News

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

  

Author Topic: Exiting mame by holding two buttons?  (Read 320 times)

0 Members and 1 Guest are viewing this topic.

Moksi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 132
  • Last login:May 19, 2020, 02:24:29 am
  • I want to build my own arcade controls!
Exiting mame by holding two buttons?
« on: March 09, 2020, 04:00:00 pm »
Hello Is it possible with an AHK to setup a two button combination holding for 4 secs for exiting Mame

I need some help with the ahk though

thanks 

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6533
  • Last login:May 26, 2020, 11:20:31 pm
  • I break stuff...then fix it...sometimes

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18299
  • Last login:Today at 01:06:59 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Exiting mame by holding two buttons?
« Reply #2 on: March 09, 2020, 07:47:05 pm »
You know you can map functions within mame to require two or more keys right?  I mean that's the better way to do it unless you really need that 4 second delay or something. 

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 591
  • Last login:Today at 04:17:28 pm
Re: Exiting mame by holding two buttons?
« Reply #3 on: March 10, 2020, 03:07:41 am »
I have always found autoit perfect for such things (in case the front end does not support custom key combinations).

Moksi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 132
  • Last login:May 19, 2020, 02:24:29 am
  • I want to build my own arcade controls!
Re: Exiting mame by holding two buttons?
« Reply #4 on: March 14, 2020, 06:36:54 pm »
I managed to fix it with Rocketlauncher setting it up with a 4 sec delay
the 4 sec delay didn't work because I mapped the same keys in Mame Ui cancel which immediately shuts mame down
thanks guys