Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: MUKid on September 19, 2003, 10:57:11 pm

Title: MAMEWah Menu Lockout
Post by: MUKid on September 19, 2003, 10:57:11 pm
A quick MAMEWah question -- I read on Stuzza's help page that if I press and hold Player 2 start for three seconds, I can lock out the menu.  I tried this, but all that happens is that the menu screen comes and goes repeatedly (exactly what I'd expect to happen when holding down that key, actually).  Is there a way to lock out menus using MAMEWah?  If so, how?

Thanks!
Title: Re:MAMEWah Menu Lockout
Post by: JoeB on September 19, 2003, 10:59:09 pm
Good one..

I also ran into this problem!   ???
Title: Re:MAMEWah Menu Lockout
Post by: BigBri on September 20, 2003, 03:26:13 pm
ya, just hold it down until you hear the noise.  than you know it's locked.
Title: Re:MAMEWah Menu Lockout
Post by: MUKid on September 20, 2003, 10:34:05 pm
Man, I held down that button till the cows came home, and there was no sound, and I got no menu lockout.

Let me just make sure I'm not being stupid and doing this wrong.... I press the Player 2 Start Button for three seconds, right?  And just to make sure, I went into the customize controls menu and made sure that I was pressing the right button for Player 2 Start.  Player 2 Start also brings the menu up, so it just comes up and goes down repeatedly as long as I hold the button, so I'm sure I'm pressing the right button.

*shrug*
Title: Re:MAMEWah Menu Lockout
Post by: Cave on September 21, 2003, 09:29:11 am
Press 2 so the options box comes up, then press 2 AGAIN for 3 seconds, you will get a message confirming the lock also.

Cave
Title: Re:MAMEWah Menu Lockout
Post by: Minwah on September 21, 2003, 05:46:08 pm
Press 2 so the options box comes up, then press 2 AGAIN for 3 seconds, you will get a message confirming the lock also.

Cave

This is correct :)

MUKid: Does the options menu just keep appearing / disappearing?  Are you using a keyboard or encoder?

If you are using a keyboard or your encoder has key-repeat enabled (eg USB IPAC) then this cause a problem, since I relied on no key repeat...let me know if this is the case.
Title: Re:MAMEWah Menu Lockout
Post by: SpamMe on September 23, 2003, 01:28:13 pm
Well it's the case for me. Currently using a keyboard until my ipac comes, so it's probably not a big deal.
Title: Re:MAMEWah Menu Lockout
Post by: MUKid on September 28, 2003, 10:27:49 pm
Sorry I haven't replied to this in so long...

I was using a keyboard, but I also tried using my control panel which runs off of a Keywiz (it's a PS/2 emulator) and still have the same problem.  No menu lockout -- the menu just flashes on and off the screen.  This happens whether I try it while the options menu is already up or not.
Title: Re:MAMEWah Menu Lockout
Post by: JoeB on September 28, 2003, 11:58:44 pm
I'm using a J-PAC on a real arcade machine..

any no matter what I try, I can't lock the menu with the above key combinations.. Even tried it on the newest MAMEWAH!

Title: Re:MAMEWah Menu Lockout
Post by: Minwah on September 29, 2003, 01:32:22 pm
OK guys.  I wrote the lock thing almost assuming no-one used key-repeat (I had my reasons).

I will try to sort it out...
Title: Re:MAMEWah Menu Lockout
Post by: SpamMe on September 29, 2003, 01:43:07 pm
Could there just be a lock/unlock button (no holding)?
Title: Re:MAMEWah Menu Lockout
Post by: Minwah on September 29, 2003, 01:45:15 pm
Could there just be a lock/unlock button (no holding)?

Yes I suppose.  But most people would want to use a button on their control panel (many people do not have any other buttons).  In this case, just pressing a button wold be too 'easy' I think.
Title: Re:MAMEWah Menu Lockout
Post by: MUKid on September 29, 2003, 11:03:29 pm
OK guys.  I wrote the lock thing almost assuming no-one used key-repeat (I had my reasons).

I will try to sort it out...

I'm a little confused.  Are there situations where key repeat is disabled?  AFAIK, it's hard-coded into DOS and Windows.  I don't think you can turn it off, can you?  I mean, you can slow down the repeat rate, but I don't think you can turn it entirely off.  So what assumptions were you making about the setups users would be running?  Maybe I just don't understand what you mean by "key repeat."

By no means is this a troll or flame, btw; I think MAMEWah is a great frontend and I'm really enjoying it.  The menu lockout thing is a tiny little feature that's of minor importance to me overall.  I'd just like to know whose setup out there is running without some kind of key repeat, and why.

Thanks for looking into it, Minwah!
Title: Re:MAMEWah Menu Lockout
Post by: Minwah on September 30, 2003, 08:28:39 am
I'm a little confused.  Are there situations where key repeat is disabled?  AFAIK, it's hard-coded into DOS and Windows.  I don't think you can turn it off, can you?  I mean, you can slow down the repeat rate, but I don't think you can turn it entirely off.  So what assumptions were you making about the setups users would be running?  Maybe I just don't understand what you mean by "key repeat."

Well many (most?) keyboard encoders do not use key repeat.  I know the HotRod encoder, and IPAC in PS/2 mode do not.  The IPAC in USB mode by default does however.

You can test this:  Go into notepad or similar, and hold down a button (say P1 Start '1').  If the encoder does not use key repeat, you should see only one '1' on the screen *.  If key repeat is enabled, you will see loads of 1's appear until you let go (just like a keyboard).

* you may actually see a few 1's, my HotRod does this probably due to a glitch somewhere.

When I began writing my FE, I thought all encoders disabled key repeat (maybe the ones available at the time all did?).  In fact, it would have been a LOT easy to write the input stuff if key repeat was always enabled...