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: Two buttons with same function?  (Read 5993 times)

0 Members and 1 Guest are viewing this topic.

PixelPaul

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:October 26, 2020, 08:10:46 am
Two buttons with same function?
« on: January 13, 2014, 09:17:05 am »
I'm working on my first build, a Donkey Kong cabinet. I will be using an Ipac2. Is it possible to have two "jump" buttons, one on either side of the joystick? I'm trying to make the control panel left-handed player friendly (for my wife) who would prefers to use the joystick with her right hand and jump button with her left, which is opposite of the original arcade game control panel layout. I hope this makes sense.

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14021
  • Last login:August 01, 2025, 09:20:08 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Two buttons with same function?
« Reply #1 on: January 13, 2014, 09:20:09 am »
I'm working on my first build, a Donkey Kong cabinet. I will be using an Ipac2. Is it possible to have two "jump" buttons, one on either side of the joystick? I'm trying to make the control panel left-handed player friendly (for my wife) who would prefers to use the joystick with her right hand and jump button with her left, which is opposite of the original arcade game control panel layout. I hope this makes sense.

easy peasy, just run a wire from one button to the other. When either button is pressed, it'll jump
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

PixelPaul

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:October 26, 2020, 08:10:46 am
Re: Two buttons with same function?
« Reply #2 on: January 13, 2014, 09:26:42 am »
Cool, thanks for the info!

Hoopz

  • Don't brand me a troublemaker!
  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5285
  • Last login:June 13, 2025, 09:18:32 pm
  • Intellivision Rocks!
Re: Two buttons with same function?
« Reply #3 on: January 13, 2014, 09:44:51 am »
You can run the wire from the button to the same input on the Ipac.  I do that with a 4 way joy and and 8 way along with a few buttons. 

JDFan

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3448
  • Last login:March 03, 2025, 10:29:54 am
  • I want to build my own arcade controls!
Re: Two buttons with same function?
« Reply #4 on: January 13, 2014, 10:33:32 am »
Yep -- I also do the same with my 2nd joystick and buttons 3-6 on my 1 player bartop using a ZD encoder since I wanted to have dual joysticks for robotron and smash TV but the cheap encoder ($10) had only 16 inputs so by doubling up buttons 3-6 with the 2nd joystick it left enough open inputs for the 6 admin buttons I wanted where 16 would not have been enough for 2 joys ( 8 ), 6 buttons, and 6 admin buttons == 20 inputs but by doubling up the 3-6 buttons with the second joystick it uses 4 inputs for those 8 functions - 4 for the other joystick and 2 for buttons 1 and 2 = 10 leaving 6 inputs for admin buttons ( 1 and 2 player credit and start then a Pause and Escape ) 

Another option for you would be to wire the 2 buttons as separate inputs and then set the MAME setup so that both buttons are seen as the same key (ie both button 2 and 4 are different inputs but when pressed each input sends the same Jump keystroke to the game) -- Then you could also use them as separate buttons for other games if you wanted by changing the MAME setting for those games individually (so for example in some games button 2 and button 4 are both Jump but in other games button 2 is Jump and button 4 is Fire for example) -- Since your encoder has plenty of inputs you could do it that way in case you find you need an extra button rather than having them both wired together.

Really depends on what your needs are but to answer the original question it would be a Yes you can.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11057
  • Last login:Today at 08:50:04 am
  • Obey.
    • The Chris Burke Band
Re: Two buttons with same function?
« Reply #5 on: January 13, 2014, 10:51:43 am »
Yeah, if you've got the inputs to spare, I'd go with JDFan's method.  You can set the defaults so that Button 1 and Button 4 both do the same thing, and then tweak as needed for other games.  I don't particularly like dead inputs on my control panel, so this is how I've got everything mapped.


DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5158
  • Last login:May 24, 2025, 09:57:44 pm
  • Wheres my coffee?
    • Skenny's Outpost
Re: Two buttons with same function?
« Reply #6 on: January 13, 2014, 01:48:39 pm »
I think the method Malenko suggested would be the simplest. Just parallel the two buttons.
If you don't want both buttons enabled at the same time you could use a spdt switch that can switch between the two buttons, enabling the button to use based on the switch position (left hand/right hand).

Hoopz

  • Don't brand me a troublemaker!
  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5285
  • Last login:June 13, 2025, 09:18:32 pm
  • Intellivision Rocks!
Re: Two buttons with same function?
« Reply #7 on: January 13, 2014, 01:50:33 pm »
Yep -- I also do the same with my 2nd joystick and buttons 3-6 on my 1 player bartop using a ZD encoder since I wanted to have dual joysticks for robotron and smash TV but the cheap encoder ($10) had only 16 inputs so by doubling up buttons 3-6 with the 2nd joystick it left enough open inputs for the 6 admin buttons I wanted where 16 would not have been enough for 2 joys ( 8 ), 6 buttons, and 6 admin buttons == 20 inputs but by doubling up the 3-6 buttons with the second joystick it uses 4 inputs for those 8 functions - 4 for the other joystick and 2 for buttons 1 and 2 = 10 leaving 6 inputs for admin buttons ( 1 and 2 player credit and start then a Pause and Escape ) 
Dude, that's one amazing sentence!   :cheers:

JDFan

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3448
  • Last login:March 03, 2025, 10:29:54 am
  • I want to build my own arcade controls!
Re: Two buttons with same function?
« Reply #8 on: January 13, 2014, 02:10:51 pm »
Dude, that's one amazing sentence!   :cheers:

OK so I tend to ramble and didn't figure a post needed to be fully punctuated on an arcade building forum as long as the point got across !  :dunno Would you have preferred :

Quote
Yep -- I also do the same with my 2nd joystick and buttons 3-6 on my 1 player bartop. Since I am using a ZD encoder and wanted to have dual joysticks for games like Robotron and Smash TV. The cheap encoder ($10) has only 16 inputs, so required doubling up buttons 3-6 with the 2nd joystick to leave enough open inputs for the 6 admin buttons I wanted.

Figure normally for 2 joysticks ( 8 inputs ), 6 player buttons, and 6 admin buttons, I would have needed 20 inputs. Doubling up the 3-6 buttons with the second joystick allowed using only 4 inputs for those 8 functions. Another 4 for the first joystick and 2 for buttons 1 and 2 used 10 inputs, leaving 6 inputs for admin buttons ( 1 and 2 player credit and start, and then a Pause and Escape button ) 

Hoopz

  • Don't brand me a troublemaker!
  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5285
  • Last login:June 13, 2025, 09:18:32 pm
  • Intellivision Rocks!
Re: Two buttons with same function?
« Reply #9 on: January 13, 2014, 03:44:43 pm »
Nope, I seriously enjoyed it.   :applaud:

meyer980

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 387
  • Last login:July 06, 2025, 01:18:25 pm
  • Building fun things for fun
    • sergiostuff.com/2020/04/15/felix-son-arcade-game/
    • Sergio Stuff
Re: Two buttons with same function?
« Reply #10 on: January 13, 2014, 04:04:18 pm »
If you're going to take the time to add another button anyway, I'd recommend what JDFan said for his second suggestion.

Wire it up as a second button, but tell MAME that for certain games it's the main button. That way 2-button games are still a possibility!

Le Chuck

  • Saint, make a poll!
  • Wiki Contributor
  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5509
  • Last login:June 14, 2025, 06:26:06 pm
  • <insert personal text here>
Re: Two buttons with same function?
« Reply #11 on: January 13, 2014, 04:19:00 pm »
What game would one use a button on either side of the stick?  You'd either have to take your hand off the stick or reach across your body to hit this extra button.  Might as well map it to the same or wire it in series. 

That said you're not losing anything by wiring it independantly then mapping it over either.  I just don't think it would be a viable solution for anything much. 

JDFan

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3448
  • Last login:March 03, 2025, 10:29:54 am
  • I want to build my own arcade controls!
Re: Two buttons with same function?
« Reply #12 on: January 13, 2014, 04:30:51 pm »
Nope, I seriously enjoyed it.   :applaud:

eds1275

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2165
  • Last login:July 21, 2025, 05:34:15 pm
  • Rock and Roll!
Re: Two buttons with same function?
« Reply #13 on: January 13, 2014, 04:35:25 pm »
Nope, I seriously enjoyed it.   :applaud:

That picture is scaring the children.

Slippyblade

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3167
  • Last login:June 05, 2024, 10:30:57 am
  • And to the death god we say, "Not today!"
Re: Two buttons with same function?
« Reply #14 on: January 13, 2014, 07:27:41 pm »
What game would one use a button on either side of the stick?  You'd either have to take your hand off the stick or reach across your body to hit this extra button.  Might as well map it to the same or wire it in series. 

That said you're not losing anything by wiring it independantly then mapping it over either.  I just don't think it would be a viable solution for anything much.

He's looking to make his cab ambidextrous for righties and lefties.

Le Chuck

  • Saint, make a poll!
  • Wiki Contributor
  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5509
  • Last login:June 14, 2025, 06:26:06 pm
  • <insert personal text here>
Re: Two buttons with same function?
« Reply #15 on: January 13, 2014, 07:32:02 pm »
What game would one use a button on either side of the stick?  You'd either have to take your hand off the stick or reach across your body to hit this extra button.  Might as well map it to the same or wire it in series. 

That said you're not losing anything by wiring it independantly then mapping it over either.  I just don't think it would be a viable solution for anything much.

He's looking to make his cab ambidextrous for righties and lefties.

Exactly, so why would you map it as a second button for "other games" like has been suggested?

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11057
  • Last login:Today at 08:50:04 am
  • Obey.
    • The Chris Burke Band
Re: Two buttons with same function?
« Reply #16 on: January 13, 2014, 08:18:28 pm »
Because you might as well have the functionality if you're already doing just as much work. 


Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14021
  • Last login:August 01, 2025, 09:20:08 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Two buttons with same function?
« Reply #17 on: January 14, 2014, 08:02:40 am »
Because you might as well have the functionality if you're already doing just as much work.

Sounds like more work. Instead of running 2 wires from one button to another, you need to set up another button for every game in MAME.
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

JDFan

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3448
  • Last login:March 03, 2025, 10:29:54 am
  • I want to build my own arcade controls!
Re: Two buttons with same function?
« Reply #18 on: January 14, 2014, 09:48:24 am »
Because you might as well have the functionality if you're already doing just as much work.

Sounds like more work. Instead of running 2 wires from one button to another, you need to set up another button for every game in MAME.

Not really - you just set the default setting so only one change -- but then you have the option to change for specific games if you want and also have it to use in menus etc. where you might need an extra button --- Personally I'd actually use a $10 no delay encoder with its 16 inputs for this type of setup rather than the $40 Ipac2, since he is not using anywhere near 32 inputs and the other $30 could have been used elsewhere or saved (But then I'm pretty cheap  :lol )

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11057
  • Last login:Today at 08:50:04 am
  • Obey.
    • The Chris Burke Band
Re: Two buttons with same function?
« Reply #19 on: January 14, 2014, 10:11:25 am »
Because you might as well have the functionality if you're already doing just as much work.

Sounds like more work. Instead of running 2 wires from one button to another, you need to set up another button for every game in MAME.

"Default Game Settings" how do they work?

 :lol


meyer980

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 387
  • Last login:July 06, 2025, 01:18:25 pm
  • Building fun things for fun
    • sergiostuff.com/2020/04/15/felix-son-arcade-game/
    • Sergio Stuff
Re: Two buttons with same function?
« Reply #20 on: January 14, 2014, 10:37:27 am »
I think JDFan is right that a big benefit would be using it in front end menus.

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14021
  • Last login:August 01, 2025, 09:20:08 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Two buttons with same function?
« Reply #21 on: January 14, 2014, 05:59:00 pm »

"Default Game Settings" how do they work?

 :lol

.................. and then tweak as needed for other games. 

OP wants a mirrored button so his wife can play lefty flip. No dead inputs on the CP, just a mirrored button. Nothing wrong with what you want to do, but what you want to do isn't the solution to the OP's original query.
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

PixelPaul

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:October 26, 2020, 08:10:46 am
Re: Two buttons with same function?
« Reply #22 on: January 14, 2014, 07:26:18 pm »

Personally I'd actually use a $10 no delay encoder with its 16 inputs for this type of setup rather than the $40 Ipac2, since he is not using anywhere near 32 inputs and the other $30 could have been used elsewhere or saved (But then I'm pretty cheap  :lol )

Could you expand on this? I'm working on my first build and learning as I go......and I'm pretty cheap also!

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14021
  • Last login:August 01, 2025, 09:20:08 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Two buttons with same function?
« Reply #23 on: January 14, 2014, 07:30:50 pm »

Personally I'd actually use a $10 no delay encoder with its 16 inputs for this type of setup rather than the $40 Ipac2, since he is not using anywhere near 32 inputs and the other $30 could have been used elsewhere or saved (But then I'm pretty cheap  :lol )

Could you expand on this? I'm working on my first build and learning as I go......and I'm pretty cheap also!

there is another encoder called a Zero Delay board. It doesnt use the MAME inputs, it shows up as a controller in windows.
heres one on ebay:

http://www.ebay.com/itm/190921841677
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

JDFan

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3448
  • Last login:March 03, 2025, 10:29:54 am
  • I want to build my own arcade controls!
Re: Two buttons with same function?
« Reply #24 on: January 14, 2014, 07:47:14 pm »
Could you expand on this? I'm working on my first build and learning as I go......and I'm pretty cheap also!

As Malenko explained it is just a different type of encoder that shows up as a HID 12 button gamepad rather than a keyboard (but setup in Mame is easy) - so you have the 4 inputs for the joystick and 12 other inputs for buttons (16 total inputs) which is enough for a single player build or even a 2 player setup with a joystick and a couple buttons per player - they are shipped from china (mine took 10 days to arrive). Since they offer limited inputs they are not really useful for 2 player CPs with 8 buttons per player and the likes (though you can use 2 of them for that type setup and it still works out costing less) but for something like you are building with just the single joystick and a couple buttons they work great.

And the $11 includes all of the wires for hooking it up and the USB connection - though the button\joystick wires are fairly short (works fine for a small build but might need to extend them if using a large CP) - If you do order one just be sure to get the one with the proper wiring for your joystick ( they have either a 5 wire connector for japanese type joysticks or 2 wire for each direction like those used on Happ joysticks) - the encoder will work with either type but the wiring is only included for one or the other not both.
« Last Edit: January 14, 2014, 07:51:28 pm by JDFan »

PixelPaul

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:October 26, 2020, 08:10:46 am
Re: Two buttons with same function?
« Reply #25 on: January 14, 2014, 07:54:22 pm »
Thanks for the info JDFan, I didn't even know such a thing existed. Where do you find them, eBay?

Slippyblade

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3167
  • Last login:June 05, 2024, 10:30:57 am
  • And to the death god we say, "Not today!"
Re: Two buttons with same function?
« Reply #26 on: January 14, 2014, 07:57:52 pm »
Thanks for the info JDFan, I didn't even know such a thing existed. Where do you find them, eBay?

Malenko included a link to an eBay listing for them.

http://www.ebay.com/itm/190921841677

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14021
  • Last login:August 01, 2025, 09:20:08 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Two buttons with same function?
« Reply #27 on: January 14, 2014, 07:58:32 pm »
Thanks for the info JDFan, I didn't even know such a thing existed. Where do you find them, eBay?

Vigo used to sell them on here, then others started selling them on eBay.  I have one in Bonnie's Pink Box and one for the camera buttons in my racing cab, Checkered Past. They work great.
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

JDFan

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3448
  • Last login:March 03, 2025, 10:29:54 am
  • I want to build my own arcade controls!
Re: Two buttons with same function?
« Reply #28 on: January 14, 2014, 09:12:24 pm »
Thanks for the info JDFan, I didn't even know such a thing existed. Where do you find them, eBay?

Malenko included a link to an eBay listing for them.

http://www.ebay.com/itm/190921841677

Just be sure to let them know what type of button Quick disconnects and joystick connector you need - they have 2 types of joystick (5 pin and 4- 2 pin connectors) and also 2 types of button quick disconnects ( smaller size for Sanwa buttons and slightly larger size for Happ buttons) so be sure you order the ones you need if ordering !! :cheers: