The NEW Build Your Own Arcade Controls
Main => Software Forum => Topic started by: TheShanMan on March 14, 2008, 12:48:04 am
-
Alt-enter toggles between full screen and window, but you can also activate alt-enter using the user controls of the standard mame key map (I think P2 button 2 is alt, and P3 button 3 is enter, IIRC). Not ideal in a cab. Is there any built in way to disable alt-enter? I'd be happy with mame/mameui32 handling that or with mala doing it.
Otherwise, I'll have to write a little keyboard hook utility to disable it, and I'd rather not resort to that unless there's no other way.
I would think others have run into this problem???
-
Mala? I thought you were moving to Mamewah?
-
Alt-enter toggles between full screen and window, but you can also activate alt-enter using the user controls of the standard mame key map (I think P2 button 2 is alt, and P3 button 3 is enter, IIRC). Not ideal in a cab. Is there any built in way to disable alt-enter? I'd be happy with mame/mameui32 handling that or with mala doing it.
Otherwise, I'll have to write a little keyboard hook utility to disable it, and I'd rather not resort to that unless there's no other way.
I would think others have run into this problem???
Or you could remap your keys in MAME.
-
Mala? I thought you were moving to Mamewah?
I've considered it. I'm actually evaluating some others when I have a spare moment (it isn't the highest of priorities right now), currently maximus.
Or you could remap your keys in MAME.
I realize that. It just seems odd that a default keymap would lead to this problem, so I thought maybe there was a way to disable alt-enter. Also figured that since the default keymap can lead to this problem, someone might have already created a solution (built in to a front end, or a stand alone utility).
I already wrote a utility that does something similar (disable the windows key), so maybe I can alter it to disable alt-enter. I'll just have to see how that would work with a key combination since that's a bit different and might be tricky since I still want alt and enter to work individually.
-
http://www.pctools.com/guides/registry/detail/549/
This is a guide on how to mod the registry to get rid of all windows hotkeys... It was the best I could find...
-
http://www.pctools.com/guides/registry/detail/549/
This is a guide on how to mod the registry to get rid of all windows hotkeys... It was the best I could find...
Thanks, but that doesn't apply to key combinations handled by an application (like mame's handling of alt-enter). That only applies to win+<key> combinations handled by the OS, and doesn't even apply to the windows key by itself.
-
Well my keyboard hook solution didn't work without disallowing alt and enter to be pressed simultaneously (it effectively eats the enter if alt is down), which is no surprise at all when I think about it.
However, I discovered the real solution. It occurred to me "why wouldn't that be a key mappable function just like anything else?" Sure enough, it is. Simple solution - clear the key for toggle fullscreen! Wish that occurred to me earlier! :dizzy:
-
This is an older thread so I dont know if TheShanMan will still see this or if someone else might be able to answer.
I have the same issue and thoughts. Seems like this would be a common issue for anyone with a 4 player cabinet. I seem to never get through a session on my cabinet without hitting this combination at least once.
I thought about remapping one or the other buttons in MAME but others have to have run into this. If others have just solved this by remapping what key(s) do they use instead of the default?
However, I discovered the real solution. It occurred to me "why wouldn't that be a key mappable function just like anything else?" Sure enough, it is. Simple solution - clear the key for toggle fullscreen! Wish that occurred to me earlier! :dizzy:
TheShanMan, I don't know if you'll still see this or not, but can you be more specific on how you "clear the key for toggle fullscreen?" I could be wrong but I'm not aware of any standard way built-in to Windows to accomplish this. If there is, please point me to it, or if you used a 3rd party tool to do it, can you tell me what tool that was?
Thank you.
-
However, I discovered the real solution. It occurred to me "why wouldn't that be a key mappable function just like anything else?" Sure enough, it is. Simple solution - clear the key for toggle fullscreen! Wish that occurred to me earlier! :dizzy:
TheShanMan, I don't know if you'll still see this or not, but can you be more specific on how you "clear the key for toggle fullscreen?" I could be wrong but I'm not aware of any standard way built-in to Windows to accomplish this. If there is, please point me to it, or if you used a 3rd party tool to do it, can you tell me what tool that was?
Thank you.
Okay, never mind, I found it. I guess I should have finished looking through the threads from the search results (that's how I found this thread in the first place). There were a few other dealing with this. I was thinking this was referring to somehow canceling the Windows OS own Alt-Enter function.
For anyone else who may stumble across this thread like I did and get confused, I found in another thread that MAME has it's own setting for Toggle Full Screen. Clearing that out in MAME did the trick.
-
Yeah, plus I found over time that it just wasn't worth having a button mapped to the alt key (or ctrl key). I know that's how mame does it by default, but I got bit enough times where it was a perfect combo of player 1 hitting the alt button and player "x" hitting button "y", resulting in bizarre behavior "z" that I decided to do away with it.
-
Thanks for the response. So what did you end up remapping to instead of Alt?
-
IIRC alt was the first or second player 1 button? Those buttons are mapped to h and n for me, but it doesn't really matter - just find any unused key.
-
Yes, P1-B1 is CTRL and P1-B2 is ALT. Thanks much!