Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Lazy button  (Read 2303 times)

0 Members and 1 Guest are viewing this topic.

newmameguy1000

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:April 05, 2019, 11:44:56 am
  • I want to build my own arcade controls!
Lazy button
« on: January 22, 2006, 05:01:24 pm »
Hey everyone,

I've been using my Mame cabinet for about a year now and it works great. One problem though, I have an issue with a lazy button. It seems to register maybe 2/3 times its pushed. I don't have an issue with any of the other buttons on the board.

I don't believe its a problem with the button itself. The reason for this is that I have the P1 joystick wired to another 4-way joystick and this button (p1 2nd button) is the same on that one as well. The other P1 buttons work great for both joysticks.

All the other buttons seem to be working great. Any ideas on what could be wrong? Thanks.

Mark70

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 479
  • Last login:August 19, 2011, 11:22:49 pm
  • I want to build my own arcade controls!
Re: Lazy button
« Reply #1 on: January 22, 2006, 05:33:30 pm »
leaf springs or microswitches?
... arcade builders could someday rule the world...currency would be reduced to quarters only, and wars would be settled

Ed_Phillips

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:January 09, 2007, 05:53:17 pm
  • I want to build my own arcade controls!
Re: Lazy button
« Reply #2 on: January 22, 2006, 05:37:32 pm »
Mark70,
 Please check your PM's at your convenience.
Thanks
Ed

newmameguy1000

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:April 05, 2019, 11:44:56 am
  • I want to build my own arcade controls!
Re: Lazy button
« Reply #3 on: January 22, 2006, 05:42:50 pm »
Microswitch,

Also, I did some testing downstairs and this is what I've discovered:

The button works exactly 1 out of every two times. I also used the keyboard button (Left Alt) and it was the same thing. I'm using I-Pac as the programming module. Have I mapped something wrong? If so, how can I discover that and change it? Thanks.


fixedpigs

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 627
  • Last login:August 19, 2025, 01:29:35 pm
  • warning: drew can't handle my avatar...
Re: Lazy button
« Reply #4 on: January 22, 2006, 06:30:41 pm »
weird...

sounds like it's toggling back and forth...

at least you can rule out the button itself...

farmecologist

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 93
  • Last login:September 28, 2021, 06:41:53 pm
  • I'm not a llama!
Re: Lazy button
« Reply #5 on: January 22, 2006, 11:21:16 pm »
I had a similar problem and it turned out to be the microswitch.  I replaced it and all is well now.


Ponderosa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:August 13, 2007, 07:14:46 pm
  • I'm a llama!
Re: Lazy button
« Reply #6 on: January 23, 2006, 10:07:53 am »
I have noticed a very similar problem with my IPAC setup.  One button on my panel behaves like it is being toggled on and off.  However, it only appears to do this immediately following the loading of a game.  I use a key combination lalt+1+2 to exit from mame back to ArcadeOS.  Then, I press 1 to load a different game.  The lalt button does not register until it is pressed twice.  I have tried with a couple of different microswitches -- same result.  I have been just sorta living with this for about a year or so, but it does kind of bug me.  It's like the lalt button gets stuck when you exit a game (using the key combination) and has to be unstuck when you launch a new game.  Very strange.  I do not use the shift function of the IPAC, because I let mame handle all of the key combinations.  There are times when I exit all the way back to DOS, and it seems like the keyboard is locked up, when actually the lalt button is locked down.  Pressing it again frees up the keyboard.

PCtech

  • BYAOC is kinda like methadone
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 407
  • Last login:December 07, 2019, 09:58:57 am
  • If the magic smoke gets out, it won't work again!
Re: Lazy button
« Reply #7 on: January 23, 2006, 12:34:50 pm »
I would try changing microswitches with another button (if possible), and see if the problem "moves" to the new button.....if the problem moves to the new button, you know it is the microswitch....if the problem stays with the original button, I would re-check the setup on the IPAC.

Good Luck.
Example of what NOT to say at BYOAC
"a working adult playing a video game - pathetic" - freddykruger666

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Lazy button
« Reply #8 on: January 23, 2006, 12:37:18 pm »
Yep, I had a microswitch 'bounce' problem like this.  Move the microswitch to another button and see if that button exhibits the same symptoms.  If so, replace the microswitch.

newmameguy1000

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:April 05, 2019, 11:44:56 am
  • I want to build my own arcade controls!
Re: Lazy button
« Reply #9 on: January 24, 2006, 11:42:05 pm »
Hey guys,

Just wanted to get back to you and let you know what happened.

I tested it under test mode and the button worked perfectly. But it still only registered every second time when I was in panel layout. So I figured I'd try it in a normal gameplay situation and it worked perfectly.

So what caused the problem? I had e-mailed Andy over at I-Pac and he asked me if it was mapped to an ALT key. It is in fact mapped to an ALT key and according to Andy:  "If programmed as an ALT key this is normal behaviour in the panel test. It's a Windows issue actually. Gameplay is not affected..."

Someone may want to post this in the FAQ as I'm sure other people will run into this again. Anyway, just wanted to update people on what caused this.

Flinkly

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1244
  • Last login:March 14, 2017, 01:14:21 pm
Re: Lazy button
« Reply #10 on: January 25, 2006, 12:03:58 pm »
so does it affect gameplay?  and isn't alt a default mame first player button?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Lazy button
« Reply #11 on: January 25, 2006, 12:33:27 pm »
Oh, well that's just how 'alt' behaves in windows.  Open up notepad and press alt, then press it again.  you'll see the file menu highlight and then unhighlight.  It can also be used to enter special characters i believe.  Your first post implied that gameplay was affected.  Or at least that's how I read it.

Flinkly

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1244
  • Last login:March 14, 2017, 01:14:21 pm
Re: Lazy button
« Reply #12 on: January 25, 2006, 12:39:34 pm »
but andy seems to imply that it doesn't...