MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

hotgraphics
MAME Fan
Reged: 10/07/06
Posts: 159
Send PM


ESC key definable in Mame?.
#367674 - 07/10/17 06:39 AM Attachment: 6088916_orig.jpg 197 KB (0 downloads)


Hi, I was thinking of building a bartop Mame cabinet such as this one. I have a HP (Mini-PC) i5 4570T (4th Gen) 3.2Ghz to 3.9Ghz with 8Gb Ram, Intel® HD Graphics 4600 2Gb, OpenGL 4.3 support, on the way from eBay. I was thinking of making the ESC key to be operable by pressing the Player 1 buttons 1-3 or 1-4 at once, through one of those Zero Delay arcade joystick controls to USB adapters. I've searched through Mame but I can't seem to find a way to define the ESC key at all let alone define it as 3 or 4 button presses at once, I was just wondering if there is a way to do it somehow?, or could this feature please be added to Mame?. Also, is the graphics card it has good enough to use HLSL?. Thanks

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment

Edited by hotgraphics (07/10/17 06:52 AM)



John IV
IV/Play, MAME, MAMEUI
Reged: 09/22/03
Posts: 1969
Loc: Washington, USA
Send PM


Re: ESC key definable in Mame?. new [Re: hotgraphics]
#367676 - 07/10/17 06:55 AM


Look for UI Cancel and map that. I do something similar to what you want w/ my controller as it has only 6 dedicated buttons between two sticks for Robotron.

I use down right stick and button 5 and 6 at the same time. You can throw that into a \ctrl\*.cfg file, for example:


Code:




KEYCODE_ESC OR JOYCODE_1_BUTTON7 JOYCODE_1_BUTTON8 OR KEYCODE_F KEYCODE_LCONTROL KEYCODE_LALT





[Edit] Hmm, post stripped off the *.cfg XML.



john iv
http://www.mameui.info/



hotgraphics
MAME Fan
Reged: 10/07/06
Posts: 159
Send PM


Re: ESC key definable in Mame?. new [Re: John IV]
#367677 - 07/10/17 07:34 AM


Thanks so much for the info & tips, John IV. Much appreciated.



hotgraphics
MAME Fan
Reged: 10/07/06
Posts: 159
Send PM


Re: ESC key definable in Mame?. new [Re: John IV]
#367680 - 07/10/17 10:54 AM


Does it matter what the .cfg file is called in the Ctrl folder?.



John IV
IV/Play, MAME, MAMEUI
Reged: 09/22/03
Posts: 1969
Loc: Washington, USA
Send PM


Re: ESC key definable in Mame?. new [Re: hotgraphics]
#367691 - 07/10/17 06:11 PM


No, you can just reference it by name in the mame.ini.

Also what some folks do is make all their alterations in-game in the controller mapping tab menu and then take that altered default.cfg and rename it to blablah.cfg in the \ctrlr directory. Then just point to that one in mame.ini. Good luck -

ctrlr blahblah



john iv
http://www.mameui.info/



hotgraphics
MAME Fan
Reged: 10/07/06
Posts: 159
Send PM


Re: ESC key definable in Mame?. new [Re: John IV]
#367712 - 07/11/17 05:05 AM


Thanks again, John IV.


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 288 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1641