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: J-PAC shift function working oddly  (Read 2925 times)

0 Members and 1 Guest are viewing this topic.

Hammerfist

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:May 21, 2013, 08:01:25 am
J-PAC shift function working oddly
« on: October 07, 2012, 03:43:13 pm »
I've had J-Pac in my cab for a while now and it's been working as it should, until today when I tried to "insert coin" (player 1 start + sw 1) and nothing happened. First I thought it might be the player 1 start button having a bad connection, but when I ran the winipac test mode, it showed that it's connecting. I did notice a weird behaviour with this as well, as the test showed key press for "1" only when I released the pl1 start button, instead of showing the pressed key when button is pressed. I'm thinking this is because of the shift-function with the pl1 start button. Anway, when I tried the shift-function with pushing pl1 stick to the left and right, it worked as it should, showing the default enter and tab as being pressed.

I tried uploading the button info again to the J-pac, but no help. Then I tried to set some other keys to other buttons for pl1 and pl2, but the same problem was with them as well, as the test mode showed no input (testing from keyboard, it worked ok). So now it seems, that for some reason, the shift function is not working with the buttons. Any help with this?


It seems that contrary to my earlier believe, I hadn't booted the system to try to repair the issue. Everything is working now as it should. Too little sleep I guess :). Trash away, I can take it :P

Just to make sure, everybody understand this : There is nothing wrong with the J-Pac, it's a great product. So don't let this make you think otherwise!

Thanks!
« Last Edit: October 07, 2012, 04:02:24 pm by Hammerfist »
My blood type: R

pinballjim

  • Guest
  • Trade Count: (0)
Re: J-PAC shift function working oddly
« Reply #1 on: October 07, 2012, 04:46:14 pm »
I've never had much luck with the shift functionality on JPACs. 

If you're just running MAME, there's really no need for it anyway - you can set things in MAME to only work with simultaneous button presses.


Hammerfist

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:May 21, 2013, 08:01:25 am
Re: J-PAC shift function working oddly
« Reply #2 on: October 08, 2012, 03:01:20 am »
Hi PBJ. How do you mean? I'm running quite a few emulators though, but thus far MAME has been the only one where I've needed the shift function, so I'm interested to hear what you mean. Thanks!
My blood type: R

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: J-PAC shift function working oddly
« Reply #3 on: October 08, 2012, 08:05:03 am »
Its true that MAME can be configured for "AND" combinations of keys. But there are limitations to this.

For example if you replicate the I-PAC shift combination Start1 + P1SW1 = coin, as soon as you press the Start1 button the game will try to start because the "primary" key is sent, then the shifted "coin" key will be sent.

This does not happen using the I-PAC method, the primary key is not sent, only the shift combination key.

This does not cause issues with some key combinations but does with others.

Hammerfist

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:May 21, 2013, 08:01:25 am
Re: J-PAC shift function working oddly
« Reply #4 on: October 08, 2012, 08:52:20 am »
Ok, I hadn't thought about that and see no need atm, but that's good to know.

It seems that my computer is putting the J-Pac out of whack sometimes, now that I've been building my cab. I'm thinking that it happens when I have to turn my monitor off and on while my PC is running. Not something I need to do when the cab is finished. Trying to avoid it, but there's been a few "must" situations.. Some kind of "back fire" maybe.

Thanks Andy!
My blood type: R

pinballjim

  • Guest
  • Trade Count: (0)
Re: J-PAC shift function working oddly
« Reply #5 on: October 08, 2012, 09:32:08 am »
For example if you replicate the I-PAC shift combination Start1 + P1SW1 = coin, as soon as you press the Start1 button the game will try to start because the "primary" key is sent, then the shifted "coin" key will be sent.

I've only found this to be an issue with the USB joystick encoders.  The obvious solution to your scenario is to press and hold Player 1 Button 1 before you hit start, though.  I physically alter my JAMMA harnesses when I'm using a JPAC and rewire player 1 start to one of the screw terminal inputs on the board.  That shift functionality has been nothing but trouble in my experience.

I'm thinking that it happens when I have to turn my monitor off and on while my PC is running.

Nope, you've just got a dud JPAC.  It happens.

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: J-PAC shift function working oddly
« Reply #6 on: October 08, 2012, 09:47:00 am »
Ok, I hadn't thought about that and see no need atm, but that's good to know.

It seems that my computer is putting the J-Pac out of whack sometimes, now that I've been building my cab. I'm thinking that it happens when I have to turn my monitor off and on while my PC is running. Not something I need to do when the cab is finished. Trying to avoid it, but there's been a few "must" situations.. Some kind of "back fire" maybe.

Thanks Andy!

One possibility is monitor grounding. Is the monitor chassis permanently connected to the power cord ground? It should be, even if its turned off. If the only ground path is the ground wire on the video connection this might not be sufficient. When the monitor is turned on, the degaussing and the power supply startup cause a large current to be induced into the ground which must have a good path to directly discharge through.

Hammerfist

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:May 21, 2013, 08:01:25 am
Re: J-PAC shift function working oddly
« Reply #7 on: October 11, 2012, 02:39:02 am »
One possibility is monitor grounding. Is the monitor chassis permanently connected to the power cord ground? It should be, even if its turned off. If the only ground path is the ground wire on the video connection this might not be sufficient. When the monitor is turned on, the degaussing and the power supply startup cause a large current to be induced into the ground which must have a good path to directly discharge through.

Hmm, the cabs wiring (not counting what I've added) is basically as it was when it left the Atari factory, so I hadn't thought about that earlier. Power cable for the monitor has neutral and live, but I didn't find a ground wire when I had a quick look yesterday. Of course the cab has ground wire and it's attached for example to the switch, that powers the monitor.
My blood type: R