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: Thoughts on this software way to disable my coin buttons  (Read 1553 times)

0 Members and 1 Guest are viewing this topic.

jimj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:August 27, 2024, 06:39:31 pm
Thoughts on this software way to disable my coin buttons
« on: February 01, 2022, 10:01:05 pm »
      I want to disable easy use of my coin buttons to encourage use of my coin slots.  I'd like to control this via software so it's quick and easy to undo should I get tired of using quarters.  I've read about using a physical switch to enable/disable the coin buttons, but I'm not interested in that.  I'm using a SlikStik Classic Controller with an I-PAC4 inside of it and currently have dedicated coin 1 and coin 2 buttons (its default configuration).

      I thought I had read that the 5 and 6 keys (normally mapped to coin 1 and coin 2) also sometimes serve other functions (like maybe a SELECT button for consoles or other emulators?).  Does anyone know of uses for 5 and 6 besides coin 1 and coin 2?  If they have uses besides just coin 1 and coin 2 then I don't want to lose the ability to easily enter 5 and 6 from my control panel.

      Assuming there's a good reason to leave my current credit buttons mapped to keys 5 and 6, then my initial thought on disabling coin button use is to:
      • Leave the credit buttons on my control panel mapped to 5 and 6
      • In MAME globally remap coin 1 and coin 2 to two unused keys (numeric keypad 5 and 6 don't appear to be used much, see below for my rational on choosing these keys)
      • Wire my two coin doors to new inputs on my I-PAC4 that are mapped to numeric keypad 5 and 6 respectively
      • With normal 5 and 6 now unused by MAME I could assign them to other functions, like maybe show speed display
      • I'll also probably add a shifted function to my credit buttons to send numeric keypad 5 and 6 so I can cheat and give myself credits when no one is looking :)

      With this configuration I can easily revert to a normal "coin button enabled" configuration by configuring MAME to accept 5 or numeric keypad 5 as coin 1, same with 6 and coin 2.

      Anyone have any thoughts or constructive criticism of my current "disable easy coin button usage" plan?  Yes, I know that anyone that knows how to configure MAME can undo my configuration, I don't need high security on this.  :)  The only other negative I've thought of is that I'll now have two unused buttons on my control panel which could be confusing, but I can live with this confusion.  :)


      My plan above caused me to discover that finding unused keys in MAME looks like it could about be a project in itself!  :)
      • Is there a good way to find keys that aren't already in use by MAME?
      • Is there a way to tell if the key you're assigning/mapping is already in use?
      • According to the MAME documentation numeric keypad 5 isn't used and numeric keypad 6 is used for player 4.  Since I have just a two player cabinet I assume I'll be safe using these two keys, but I also don't think this site lists every default MAME input.  Are they better/safer keys to use instead of numeric keypad 5 and 6?
« Last Edit: February 01, 2022, 10:02:37 pm by jimj »

Mike A

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5906
  • Last login:Yesterday at 09:29:01 am
  • This plan is foolproof
Re: Thoughts on this software way to disable my coin buttons
« Reply #1 on: February 01, 2022, 10:58:54 pm »
Just disconnect the buttons. If you want to use them again just reconnect them.

Everybody here wants to make simple ---steaming pile of meadow muffin--- really complicated all of the time.

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:Yesterday at 12:46:10 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: Thoughts on this software way to disable my coin buttons
« Reply #2 on: February 02, 2022, 01:05:14 pm »
one switch on/off to cut off the feed to the Coin Buttons

quick draft diagram.
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

Ropi Jo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 201
  • Last login:January 30, 2024, 04:26:37 pm
  • I want to build my own arcade controls!
Re: Thoughts on this software way to disable my coin buttons
« Reply #3 on: February 02, 2022, 04:05:11 pm »
That looks like 2 big aliens beating sh*t out of a little alien

DoghouseReilly

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:July 13, 2025, 05:34:45 pm
  • Now, more than ever.
Re: Thoughts on this software way to disable my coin buttons
« Reply #4 on: February 02, 2022, 04:28:16 pm »
I thought I had read that the 5 and 6 keys (normally mapped to coin 1 and coin 2) also sometimes serve other functions (like maybe a SELECT button for consoles or other emulators?).  Does anyone know of uses for 5 and 6 besides coin 1 and coin 2?  If they have uses besides just coin 1 and coin 2 then I don't want to lose the ability to easily enter 5 and 6 from my control panel.
I had a similar concern when setting up my emulators. I have a fair few console emulators along with Mame, and I wanted to find the best candidates for a universal "save state" button and a universal "load state" button, and also a couple buttons for save slots. The Fusion Genesis emulator has F5 and F8 hard-coded for save and load, so I over-wrote Mame's default functions for those keys (I don't use whatever those default functions were), and use "5" and "6" for save slots. The rest of my emulators allowed me to map these four buttons without conflict. For the console games I play, most of them don't even use the "select" button. For the few that do, I mapped "select" to one of the other, unused-for-that game emulator buttons. I didn't have to deny myself any game because I use "5" and "6" for load/save functionality.
« Last Edit: February 02, 2022, 05:06:24 pm by DoghouseReilly »

jimj

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:August 27, 2024, 06:39:31 pm
Re: Thoughts on this software way to disable my coin buttons
« Reply #5 on: February 02, 2022, 09:49:24 pm »
Mike A, yes I think we're prone to over-engineering, I think it goes with the hobby... :)

Thenasty, thanks for your diagram, that looks easy enough to implement, but the more I think about it the more I want to retain the ability to use my credit buttons (instead of just disconnecting them).

That looks like 2 big aliens beating sh*t out of a little alien
lol, now that you mention it that drawing does bear a resemblance to The Tallest from Ivader Zim:)

Thanks for sharing your experience DoghouseReilly.  I've never used save states before, but I think that sounds like a really good use for my credit buttons