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: Pressing two buttons to get third input  (Read 2795 times)

0 Members and 1 Guest are viewing this topic.

iscariot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 317
  • Last login:April 02, 2025, 12:44:33 am
Pressing two buttons to get third input
« on: March 22, 2013, 09:37:00 am »
Hey folks, is there a simple way to have two buttons pressed together act as a third?

Seith

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 402
  • Last login:September 08, 2018, 10:50:41 am
Re: Pressing two buttons to get third input
« Reply #1 on: March 22, 2013, 09:38:20 am »
Yes, but more information is needed to properly answer that question.  There are many ways to skin a cat.  Start with answering this:

What encoder are you using?

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: Pressing two buttons to get third input
« Reply #2 on: March 22, 2013, 09:41:33 am »
Are you just talking about in mame? Then Yes, easily. When you map a control, you just press both buttons you want. The control settings will say something like "Q + W". and while in game, pressing Q and W at the same time will work as that input.

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: Pressing two buttons to get third input
« Reply #3 on: March 22, 2013, 11:10:11 am »
The iPac has a shift function where you hold one button down and press another, and it acts like a different keystroke. I'll be using that function to have a "secret" way of dropping coins without inserting an actual coin.

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7022
  • Last login:August 24, 2025, 09:14:26 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Pressing two buttons to get third input
« Reply #4 on: March 22, 2013, 11:55:33 am »
The iPac has a shift function where you hold one button down and press another, and it acts like a different keystroke. I'll be using that function to have a "secret" way of dropping coins without inserting an actual coin.

In MAME, they are all "secret" unless you can get into the admin section.   :)

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: Pressing two buttons to get third input
« Reply #5 on: March 22, 2013, 12:07:08 pm »
The iPac has a shift function where you hold one button down and press another, and it acts like a different keystroke. I'll be using that function to have a "secret" way of dropping coins without inserting an actual coin.

In MAME, they are all "secret" unless you can get into the admin section.   :)

By secret I just meant that there will not be a dedicated button for it. Unless I told some one how to do it, they would never know. That's all. Trying to keep it as authentic as possible.

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7022
  • Last login:August 24, 2025, 09:14:26 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Pressing two buttons to get third input
« Reply #6 on: March 22, 2013, 12:28:10 pm »
By secret I just meant that there will not be a dedicated button for it. Unless I told some one how to do it, they would never know. That's all. Trying to keep it as authentic as possible.

The MAME method does this as well.  In fact, MAME doesn't care how many buttons you use in a combo.  It could be two, three or more.  But obviously, you would want to assign them to combinations which wouldn't be pressed in the course of normal use.

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: Pressing two buttons to get third input
« Reply #7 on: March 22, 2013, 12:37:44 pm »
By secret I just meant that there will not be a dedicated button for it. Unless I told some one how to do it, they would never know. That's all. Trying to keep it as authentic as possible.

The MAME method does this as well.  In fact, MAME doesn't care how many buttons you use in a combo.  It could be two, three or more.  But obviously, you would want to assign them to combinations which wouldn't be pressed in the course of normal use.

Yeah, I agree. It is a really handy feature for people who don't want admin buttons....and for people with children. For my kid's machine, I use 3 button combos quite a bit for the admin functions to keep him from accidentally changing the settings or quitting the game when he slams around on games.

brad808

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 818
  • Last login:May 22, 2023, 08:18:15 pm
Re: Pressing two buttons to get third input
« Reply #8 on: March 22, 2013, 12:49:35 pm »
This reminds me I need to change the combination I use for pause on my candy cab. Currently I use start + button 3 but lots of shmup games use button 3 as bomb and when I un pause it wastes a bomb on me. Simple solution just to move it to start + button 6 but I haven't remembered around the machine yet.

Sent from my Galaxy Nexus


Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: Pressing two buttons to get third input
« Reply #9 on: March 22, 2013, 01:02:31 pm »
I personally use start + Right on joystick for pause. Just throwing that out as an option because I know it can be a stretch to hit start + button 6 with one hand. :)

brad808

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 818
  • Last login:May 22, 2023, 08:18:15 pm
Re: Pressing two buttons to get third input
« Reply #10 on: March 22, 2013, 01:20:11 pm »
Good call, I always forget about the joystick for stuff like that. On my two player cab that a lot of guests play I tried to avoid it because I figured chances of someone having one hand on the joystick and one on start would be a lot higher than one on the buttons and one on start. Just to try and avoid accidental pauses and such.

I think I also had implanted in my mind long ago (probably wrongfully so) that I would need to use the joystick and start buttons for "secret" unlocks at the beginning of games. Things like alternate costumes for fighting games and stupid things. I can't think of a single game where I do that and it's been a few years now so it's probably safe to use the joystick on my 1 player cab haha.

Sent from my Galaxy Nexus


paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re: Pressing two buttons to get third input
« Reply #11 on: March 23, 2013, 12:13:33 pm »
And if you let a couple of grade school kids on your cabinet they will find every single key press combination in a matter of minutes. Usually resulting in them getting into the mame menu and messing up the default control configurations. I only combo insert coin now. For exit game and the tab menu I ended up installing a couple of buttons underneath the control panel where no one knows where they are.


By secret I just meant that there will not be a dedicated button for it. Unless I told some one how to do it, they would never know. That's all. Trying to keep it as authentic as possible.

The MAME method does this as well.  In fact, MAME doesn't care how many buttons you use in a combo.  It could be two, three or more.  But obviously, you would want to assign them to combinations which wouldn't be pressed in the course of normal use.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

iscariot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 317
  • Last login:April 02, 2025, 12:44:33 am
Re: Pressing two buttons to get third input
« Reply #12 on: March 27, 2013, 01:03:11 pm »
Actually this is for a real arcade machine.  I was just hoping to have the third button utilized when I pressed two other buttons together.

jasonbar

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2253
  • Last login:August 17, 2025, 06:01:54 pm
  • Dr. Inferno
    • The Infernolab
Re: Pressing two buttons to get third input
« Reply #13 on: March 27, 2013, 02:27:28 pm »
MAME defaults Player 1 buttons to include Left CTRL & Left ALT. I assigned one of the Player 4  buttons to DEL.

This was fine until the first time I invite over people & 4 of us were playing Gauntlet & the Task Manager popped up! =O

I changed that immediately.

Now, when I have company over & want to protect my cab & keep people out of the MaLa settings menu, I turn off the right-mouse-click option on MaLa & assign DEL to pull up the MaLa context-sensitive menu, as I know that DEL is a key found only in the setup keyboard inside the cab, & not assigned to any switch on the outside of the cab.

-Jason

PS--I also made it difficult to exit to Windows from MaLa: right-mouse-click (Player 2 button 2), then "X" for the keyboard shortcut for "Exit" in the pop-up menu (Player 1 button 6), & then the AutoHotKey script requires that I immediately press & hold F10 (throttle, a dedicated button on the front face of my cab, under the panel's top face overhang) until the Windows desktop appears. If the 1st 2 keypresses occur w/out the 3rd, MaLa will exit & then immediately restart.