Author Topic: A combination of keys as Exit Hotkey?  (Read 14379 times)

vicmarto

  • Newbie
  • *
  • Posts: 5
    • View Profile
A combination of keys as Exit Hotkey?
« on: April 24, 2015, 08:52:50 AM »
Hello!

Is it possible to asign a combination of keys as the Exit Hotkey? If not, this would be a good feature.

I control my PC just with a Joypad, then, exit from emulators with a joypad key combination would be awesome.

Thank you very much for your excellent work.

P/S: And, please, excuse my poor english!  :-X

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #1 on: April 24, 2015, 10:09:23 AM »
That is possible but your were not clear on what you want to exit. Do you want to exit the front end (attract mode) or the emulator. I also use a game controller on my system. I use a program called anti-micro. I have the escape key mapped  to a button on my controller (it exits out of all my emulators and the front end). I can use it to mimic keyboard keys to a button on my controller (much like MAME) does. Here is the link https://github.com/Ryochan7/antimicro/releases choose the one that is right for your operating system. Some emulators don't exit the say way. though you can force them to use the esc key using this program http://lustark.com/closemul/

P.S. Your english is fine! :)
People want life easy..then complain about it

vicmarto

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #2 on: April 24, 2015, 10:18:27 AM »
Sorry, I meant exit from emulator (and return to attract-mode).
Attract-mode 1.5+ has the option to configure an exit hotkey to force the emulators to exit, but, can this be assigned to a combination of joypad keys, or only to one key?

Anti-micro seems interesting, I will give a try. Thanks!!

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #3 on: April 24, 2015, 07:14:05 PM »
I thought you meant that. I am not sure actually. Anti-micro has worked well for me though.
People want life easy..then complain about it

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 393
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #4 on: April 28, 2015, 10:32:05 PM »
Sorry, I meant exit from emulator (and return to attract-mode).
Attract-mode 1.5+ has the option to configure an exit hotkey to force the emulators to exit, but, can this be assigned to a combination of joypad keys, or only to one key?

Anti-micro seems interesting, I will give a try. Thanks!!

Hi Vicmarto, the built in feature in Attractmode doesn't support key combos.  It has to be a single input/key/button...


vicmarto

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #5 on: April 29, 2015, 01:26:01 AM »
Hi Vicmarto, the built in feature in Attractmode doesn't support key combos.  It has to be a single input/key/button...

Then, can I make a request for the next version, it would be a very interesting and useful feature. It is possible?

Thanks for your excellent work.

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 393
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #6 on: April 30, 2015, 09:55:46 AM »
Ok, I'll add it to the list of feature requests...

it shouldn't be too difficult to add support for combos involving the Ctrl, Shift and Alt keys.

vicmarto

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #7 on: May 05, 2015, 06:11:56 AM »
Wow! That would be fantastic! Thank you very much!!

vicmarto

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #8 on: August 05, 2015, 01:37:08 PM »
Ok, I'll add it to the list of feature requests...

it shouldn't be too difficult to add support for combos involving the Ctrl, Shift and Alt keys.

Hello raygun, I'm sorry but... do you remember this...?

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #9 on: August 05, 2015, 09:10:54 PM »
Ray has been busy, but I have to admit that would be nice Raygun. I can not get that hotkey feature to work though seems like would be nice to use kega fusion. Full screen dies on esc with windows but not linux.
People want life easy..then complain about it

poyomg

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #10 on: June 04, 2017, 07:44:02 AM »
The last version has this feature, I exit my games with the L2+R2 combo from my PS gamepad ;)

PD: I would like to request a "Confirm exit" instance (Yes/No), so I can avoid being accidentally expelled from the game.
Thanks!

Favdeacon

  • Sr. Member
  • ****
  • Posts: 129
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #11 on: June 05, 2017, 09:49:03 AM »
Attract-mode 1.5+ has the option to configure an exit hotkey to force the emulators to exit

Does it really? The configurable keys for "exit" and "exit to desktop" work only on AM itself. The former asks before exiting, the latter doesn't.

What keys you can bind in the emulators depends on the emulators alone. MAME for example can bind combined keystrokes for many years, many YouTube videos show people exiting by pressing two or more buttons on their MAME machines.

The last resort if an emulator doesn't allow key combinations is an external key manager like akafox suggested.

edit:

PD: I would like to request a "Confirm exit" instance (Yes/No), so I can avoid being accidentally expelled from the game.

At least MAME has the option "Confirm quit from machines" in its Miscellaneous Options.
« Last Edit: June 05, 2017, 09:53:16 AM by Favdeacon »

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #12 on: June 05, 2017, 09:55:45 PM »
@Favdeacon
It's possible to exit an emulator first (so you'll be back in AM immediately):

start AM > press TAB Key > Emulators > choose your emulator system > set 'Exit Hotkey' with button(s)

this works with mame too
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

Favdeacon

  • Sr. Member
  • ****
  • Posts: 129
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #13 on: June 05, 2017, 11:07:43 PM »
start AM > press TAB Key > Emulators > choose your emulator system > set 'Exit Hotkey' with button(s)

Ah, I overlooked that, thanks. But it doesn't work either, at least with mame on my Linux system (Kubuntu 14.04). When I set different exit keys in mame and in AM unter Emulators > mame, only the one set in mame exits it.

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: A combination of keys as Exit Hotkey?
« Reply #14 on: June 06, 2017, 11:42:46 PM »
@Favdeacon
just tested on my linux test-system (ubuntu 17.04; mame 0.182; attract 2.2.0-3):
wasn't able to exit mame with AM-Hotkey too (don't know why not).

on my windows-system, it works perfect.
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM