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: Any way to add shift key functinality to a gamepad hack?  (Read 1992 times)

0 Members and 1 Guest are viewing this topic.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Any way to add shift key functinality to a gamepad hack?
« on: July 08, 2003, 03:13:39 pm »
I'm hacking a sidewinder and I th ink Im gonna be a couple buttons short to what I want to do.  Any way to add shift functionality.

Does the mode button work for the sidewinder for this purpose.

Any info on this would be great

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #1 on: July 08, 2003, 03:25:15 pm »
For just mame, yes.  Just configure the inputs in mame to except two inputs at the same time.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #2 on: July 08, 2003, 03:26:31 pm »
For just mame, yes.  Just configure the inputs in mame to except two inputs at the same time.

I dont understand.  Mame will interpret this as a different key if you do this?

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #3 on: July 08, 2003, 03:38:18 pm »
For just mame, yes.  Just configure the inputs in mame to except two inputs at the same time.

I dont understand.  Mame will interpret this as a different key if you do this?
No it will work but it's dangerous.  Say you need a Pause button,

Set MAME so UI cancel is "P or J1Button1 and J1Button2".  Now whenever you press J1Button1 and J1Button2 at the same time (or if you wired a button to both these inputs) MAME will pause.

Of course this can be bad if you pressed these keys together accidentally, so you need to be careful which inputs you choose.

A safe one is UP and Down together, but almost all gamepads block this, so it won't work.

Also, unless your gamepad has a common ground for the buttons you want to combine, this is very complicated to wire.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #4 on: July 08, 2003, 03:49:45 pm »
gonna use teh sidewinder gamepad

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #5 on: July 08, 2003, 04:50:51 pm »
A safe one is UP and Down together, but almost all gamepads block this, so it won't work.

I've seen this mentioned in a KeyWiz thread.  How, exactly, do you do an up and down the same time to do this move?

freppa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:September 30, 2004, 08:45:31 am
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #6 on: July 08, 2003, 05:00:41 pm »
I think what he means is that you wire up ONE button to TWO inputs which use a common ground.

You get the extra "input" but still use a separate button.

/Freppa

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #7 on: July 08, 2003, 05:01:14 pm »
For just mame, yes.  Just configure the inputs in mame to except two inputs at the same time.

I dont understand.  Mame will interpret this as a different key if you do this?
No it will work but it's dangerous.  Say you need a Pause button,

Dangerous?  No different than setting up shift through an IPAC.
Anyway, just make sure the combination is something that probably won't happen.  On my cabinet, even though Ihave na IPAC, I have a dedicated pause button which is also my shift button.  I have shift+player1 button 1 as tab.  In your case without an ipac you would go into mame's input general menu (or better yet use ctrlr files) and setup so pushing a dedicated button (or say player 1 coin button) and player 1 button 1 as tab.

The advantage of having shift outside of mame is just for a few emulators, like emulators that don't allow remapping of some buttons.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #8 on: July 08, 2003, 05:04:42 pm »
this is gonna be a Mame dedicated cab, so it'll work great

grafixmonkey

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 743
  • Last login:October 16, 2010, 08:16:50 pm
  • must... tear self... away from... Tron...
    • My graphics/arcade/circuits site!
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #9 on: July 08, 2003, 05:47:03 pm »
I think what he means is that you wire up ONE button to TWO inputs which use a common ground.


I can't think of a way to wire that setup without making both buttons fire together all the time, even when you're not pressing your specially wired button.

If you wire the N-O terminal of your pushbutton to two different pads on the gamepad, then you've wired their terminals together - pressing one button will always trigger both.

Unless you use a double-pole switch, which pushbuttons aren't....   or I'm missing something.
-----------
-- See my grafix, circuits and cab on my
-- new arcadey page:  http://www.bkgrafix.net

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #10 on: July 08, 2003, 05:48:55 pm »
I think what he means is that you wire up ONE button to TWO inputs which use a common ground.

You get the extra "input" but still use a separate button.

/Freppa
Exactly, thanks.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #11 on: July 08, 2003, 05:55:54 pm »
>Dangerous?  No different than setting up shift through an IPAC.

True!!!

>Anyway, just make sure the combination is something that probably >won't happen.  On my cabinet, even though Ihave na IPAC, I have a >dedicated pause button which is also my shift button.  I have >shift+player1 button 1 as tab.  In your case without an ipac you >would go into mame's input general menu (or better yet use ctrlr >files) and setup so pushing a dedicated button (or say player 1 coin >button) and player 1 button 1 as tab.

There is a slight difference, but almost not worth mentioning.  Using your example, let's say I set MAME up using a keyboard so TAB is "P and L Ctrl".  On the I-PAC (without changing MAME) pressing the key combination will bring up the TAB menu.  On the keyboard, pressing the key combination will either pause the game, activate P1B1, or both, and THEN bring up the TAB command.  Not that it would make much difference in most games.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re:Any way to add shift key functinality to a gamepad hack?
« Reply #12 on: July 08, 2003, 08:22:15 pm »
This is for my minicab.

I'm gonna have a street fighter setup with 1 stick and 6 buttons.  I'm gonna have two buttons up top, one for coin1, one for start1.  But I need esc, and tab, so I figure that I'll make it so to activate esc, you need to hit coin1 and start1 at the same time and to do tab, ill do coin1 and first attack button

not too worried about a pause but i may go ahead and do them as well