OS X MAME OS X keyboard shortcuts config

Discussion in 'Mac and PC Games' started by macstatic, Aug 18, 2014.

  1. macstatic macrumors 6502a

    Joined:
    Oct 21, 2005
    #1
    Having first thought MAME OSX wouldn't work with 10.9 Mavericks I went ahead an installed SDL-MAME which worked fine. However, the GUI front-ends I've tried were all pretty disappointing.

    So I tried installing MAME OSX and it too worked! Although it's nothing like the (now abandoned?) MacMAME (which doesn't work with Mavericks, probably because I believe it's a PPC version and rosetta isn't a part of Mavericks) it's probably the most elegant solution on the OSX platform, but I digress :eek:

    I want to know if it's possible to rearrange some of the keyboard shortcuts in MAME OSX? I suppose something can be edited in one of the config files?
    Specifically I would like some (all perhaps) of the F-key shortcuts to be placed somewhere else since I'm running it on a Macbook Pro where several of the F-keys are already pre-defined for other things (such as F-12 which turns up the audio volume but takes a screenshot in MAME). Maybe SHIFT along with the F-key shortcuts would solve the problem.
     
  2. Janichsan macrumors 65816

    Janichsan

    Joined:
    Oct 23, 2006
    #2
    I think not. As far as I know, these shortcuts are hardcoded. However, simply holding down the "fn" key while pressing a function key has it behave as "normal" function key. So, for a MAME shortcut, you'd have to press fn+F12.

    You can also reverse this behaviour in the System Preferences, so that you'd have to hold down "fn" when you want to access the volume control and the other functions.
     
  3. macstatic thread starter macrumors 6502a

    Joined:
    Oct 21, 2005
    #3
    I believe what you're saying has to do with the OSX "Keyboard" preference pane where you can enable "Use all F1, F2, etc. keys as standard function keys". But that means I'll have to press Fn-F12 in order to increase the volume. I'd rather have less of a hassle for everyday things (by pressing the F-keys on their own) and instead have to use the "Fn" key when I need to do something like make a screenshot in MAME.

    Are you sure this is hardcoded? There's a file named "Default.cfg" in the ~/Library/Apllication Support/MAME OS X/Config/ folder but I have no idea what to put in there or if this is what makes any changes.
     
  4. Janichsan macrumors 65816

    Janichsan

    Joined:
    Oct 23, 2006
    #4
    Exactly. It's definitely a matter of personal preference.

    Not 100% sure. It's been a while since I tinkered with MAME. Have you looked into the file whether it contains any reference to the control keys for MAME (configuration menu, service mode, screenshots, etc.). If so, that might be what you are looking for.
     
  5. macstatic thread starter macrumors 6502a

    Joined:
    Oct 21, 2005
    #5
    Yeah, I looked into it (opening it in Textedit) but there wasn't much in it:
    Code:
    <?xml version="1.0"?>
    <!-- This file is autogenerated; comments and unknown tags will be stripped -->
    <mameconfig version="10">
        <system name="default" />
    </mameconfig>
    
     
  6. lunaoso macrumors 65816

    lunaoso

    Joined:
    Sep 22, 2012
    Location:
    Boston, MA
    #6
    That doesn't work? I don't have this program, but I was just curious if that would do it.
     
  7. Janichsan macrumors 65816

    Janichsan

    Joined:
    Oct 23, 2006
    #7
    Hm, odd. I expected more in that file.

    Have you tried changing the keys in MAME's built-in configuration menu (press tab, then select "Input: General")?
     
  8. macstatic, Aug 20, 2014
    Last edited: Aug 20, 2014

    macstatic thread starter macrumors 6502a

    Joined:
    Oct 21, 2005
    #8
    Yes!!!!
    Thanks Janichsan, it worked, and for all games :)
    The Fn-key however wasn't recognized, so I chose the ALT key (i.e. ALT-F12 for making a screenshot).

    Oh, in case others want to do this and are struggling... if you want to delete an existing keyboard shortcut you have to first press RETURN (to define the shortcut) then ESC (to delete it). Next press RETURN (to again define the shortcut), then the shortcut itself (e.g. F12 and ALT simultaneously).
     

Share This Page