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: Can I build a Control Panel with two joysticks for each player?  (Read 1857 times)

0 Members and 2 Guests are viewing this topic.

teslafan1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:December 28, 2017, 06:15:36 pm
  • I want to build my own arcade controls!
Can I build a Control Panel with two joysticks for each player?
« on: February 24, 2017, 03:26:58 pm »
I am building a MAME cabinet and will be purchasing the rotary joysticks so I can play one of my favorite games Heavy Barrel.  I have decided to limit the # of players to two because I don't want a massive control panel.  Could I also purchase classic 4-8 way switchabel joysticks and have both joysticks as options for each player?  The contol panel would have one rotary joystick and one classic joystic for each player and one set of buttons.  Is it possible to have both joysticks "live" all of the time and just control the action on the screen with the one that is being used?  Or do I need to "lock out" the joystick not being used?

I considered doing a four player board and having players 1-2 with the classic joysticks and players 3-4 with the rotary joysticks.  If I went that route could Heavy Barrel just use the player 3-4 controls or is the way MAME is set up would two player games always require the use of the player 1-2 controls?

Any thoughts are greatly appreciated.  Thanks!

Paul

rhoelsch

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 253
  • Last login:August 18, 2018, 08:13:16 pm
  • That...that thing's operational!
Re: Can I build a Control Panel with two joysticks for each player?
« Reply #1 on: February 24, 2017, 03:46:53 pm »
Yes. Just wire them to the same inputs in your iPac or whatever you use.
« Last Edit: February 24, 2017, 05:51:35 pm by rhoelsch »
Now witness the power of this FULLY OPERATIONAL Mame machine!

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Can I build a Control Panel with two joysticks for each player?
« Reply #2 on: February 24, 2017, 04:08:23 pm »
Yes not a problemto have 2 per player.
But to disable 1 stick in every game you would either need to manually switch between them useing a relay or just program the sticks with different inputs and set one or the other in each game for mame.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9413
  • Last login:Yesterday at 06:53:50 pm
  • Designated spam hunter
Re: Can I build a Control Panel with two joysticks for each player?
« Reply #3 on: February 24, 2017, 04:17:32 pm »
Welcome aboard, Paul.  ;D

Is it possible to have both joysticks "live" all of the time and just control the action on the screen with the one that is being used?  Or do I need to "lock out" the joystick not being used?
You can wire the joysticks in parallel if you want.

A number of builds have done this for dedicated 4-way and 8-way sticks.

When lines cross, a dot = connected and no dot = not connected.



I considered doing a four player board and having players 1-2 with the classic joysticks and players 3-4 with the rotary joysticks.  If I went that route could Heavy Barrel just use the player 3-4 controls or is the way MAME is set up would two player games always require the use of the player 1-2 controls?
You can easily re-map the controls in MAME via the "Input(this Game)" menu to whatever you want.

You'll need a Rotary Encoder for the rotary joysticks.

In addition to those rotary encoders, another option (KADE miniArcade 2.0) is currently in development -- more details coming soon.   ;D


Scott
« Last Edit: February 24, 2017, 04:21:24 pm by PL1 »

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: Can I build a Control Panel with two joysticks for each player?
« Reply #4 on: February 24, 2017, 10:46:06 pm »
They make dill does with two joysticks for each player. I don't see why not. :dunno

Laythe

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 724
  • Last login:March 31, 2024, 02:52:10 am
  • "-smurfing- delivers." - Yots
    • forum.arcadecontrols.com/index.php/topic,149109.0.html
Re: Can I build a Control Panel with two joysticks for each player?
« Reply #5 on: February 26, 2017, 12:10:10 am »
If it was me... I'd wire the 4 joysticks independently to an encoder with enough inputs, rather than wiring them together to a 2p encoder.

Then I'd set Mame to accept either input (P1 rotary joystick UP OR p1 normal joystick UP), for every single game I wanted to run on the cabinet.

It'll take about 45 seconds per game.  (If your gamelist is 6,000 long, it will suck, but, huge game lists kind of suck anyway.  I maintain that there's only about 150 good games, tops.  We may differ in opinion on *which* games those are, but I'm willing to bet money you'll never feel bad that your 151st favorite game wasn't on the list.)

The advantage of doing it this way is that you can then play 2p 2-joystick games like Karate Champ, Smash TV, Total Carnage, T-MEK, and so on, using both joysticks for both players.  If you wire them in parallel, you can't ever do that, because the encoder sees the pair as one stick and can't distinguish inputs on one from inputs on the other.


If you don't want to config Mame that way per game, and are willing to lose the 2p 2-joystick games, then I'd say the parallel wiring suggestion is the way to go.