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: Mame input Help  (Read 2110 times)

0 Members and 1 Guest are viewing this topic.

digitalwacker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:March 25, 2021, 05:17:13 pm
  • I want to build my own arcade controls!
Mame input Help
« on: July 02, 2019, 10:03:52 pm »
Having trouble with my Mame input Player 1.  My setup is a original Pacman cabinet with a PAC to jamma adapter and a jpac. I've mapped the Player 1 and 2 buttons to also act as action button 1 & 2. I'm having a problem with the Player 1 button.  It doesn't remain active when pressed.  So if I'm playing VS. Super Mario, I can't run.  It only accepts one button press.  I tried to play Galaga fast shoot and I'm not able to hold down button 1 and get multi-shot.  Works when I press the 1 key on the keyboard.  When I map button 1 to button 2, It works perfect
  Any ideas?

J_K_M_A_N

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 983
  • Last login:July 08, 2025, 08:22:37 am
Re: Mame input Help
« Reply #1 on: July 02, 2019, 10:27:49 pm »
Is the player 1 button set up as the shift button? That would be the only thing I could think of that would make it not do anything as you hold it down. It would be waiting for another button press. Disable that (unless you need it) and see if that works. If it is a shift button and you do need it, you will probably have to try something else.

J_K_M_A_N

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9672
  • Last login:Today at 01:42:41 am
  • Designated spam hunter
Re: Mame input Help
« Reply #2 on: July 02, 2019, 10:29:10 pm »
Having trouble with my Mame input Player 1.
You're talking about the Player 1 Start button, not Player 1 Button 1, right?

Looks like the "shifted functions" feature is working as advertised.

http://www.ultimarc.com/jpac.html
Quote
Shift functions. Holding "Start1" and pressing other buttons sends a range of codes for MAME functions such as "escape", "Coin 1", "tab", "enter". This means no extra buttons are needed on the cabinet. In programmable mode any input can be the shift key and all keys can be programmed with a shifted code.

If you don't want shifted functions, either reassign the shift key or use a different input for Player 1 Start.


Scott

digitalwacker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:March 25, 2021, 05:17:13 pm
  • I want to build my own arcade controls!
Re: Mame input Help
« Reply #3 on: July 03, 2019, 09:43:30 am »
I tried removing all the shifted functions under inputs, with no luck.  I must be missing something, or is this a hardware issues with the jpac?  I know its my bad for trying to use the Player 1 start as the Player 1 action button.  Hopefully someone has an answer.  Thank You

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9672
  • Last login:Today at 01:42:41 am
  • Designated spam hunter
Re: Mame input Help
« Reply #4 on: July 03, 2019, 10:54:27 am »
I tried removing all the shifted functions under inputs, with no luck.
By default, when you press and hold P1 Start the J-Pac sees "shift" and starts looking for other button presses. (shifted functions)
- If no other button is pressed before P1 Start is released, the J-Pac sends a "1" keystroke.
- Even if you clear the shifted functions from the other inputs, P1 Start is still assigned as "shift".

IIRC, you should be able to disable "shift" on P1 Start using the "IPAC Shift" checkbox on the right side, 3rd line from bottom.  (you might need to assign the shift function to a different input)



If that doesn't work, connect the P1 Start button to a different J-Pac input and program that input to send a "1" keystroke.
- Easiest way is probably to connect one of the screw terminal inputs on the left to the Normally Open (NO) tab of the P1 Start microswitch.
- Ground is already connected to the common (COM) tab, you just need to change the wire connected to the NO tab.




Scott

digitalwacker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:March 25, 2021, 05:17:13 pm
  • I want to build my own arcade controls!
Re: Mame input Help
« Reply #5 on: July 03, 2019, 12:32:16 pm »
I'll give it a shot.  Thank You very much!

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 10:49:34 am
Re: Mame input Help
« Reply #6 on: July 03, 2019, 01:52:37 pm »
You can easily figute out if the P1 start button is shifted because, if it is, the input is sent on button RELEASE. Keep the button pressed: Nothing should happen. Release the button then: your input should be sent.

digitalwacker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:March 25, 2021, 05:17:13 pm
  • I want to build my own arcade controls!
Re: Mame input Help
« Reply #7 on: July 03, 2019, 08:41:55 pm »
Wanted to say Thank You to all!  I purchased my jpac back in 2013 and didn't know it could be programmed.  Everything is working great now!

Thanks again for all the help!