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: 'Ghost' Key Presses  (Read 1919 times)

0 Members and 1 Guest are viewing this topic.

Klomper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:September 09, 2009, 01:22:37 pm
'Ghost' Key Presses
« on: August 25, 2009, 09:48:10 am »
I have almost completed my conversion of a nonworking NARC to Mame (will hopefully update my project page soon), with everything up and running and just doing some final setup and cleanup.  In the testing I have found that I am getting some ghost key presses. I had this almost identical setup in a 'temporary' panel for over a year and never had a problem. ???

I hoping people can point me in the right direction of what to check so I don't waste to much time trouble shooting.

Here is hopefully all the relevant information
1. IPAC-2 PS/2
2. 2 joys/w 7 buttons, 2x coin, P1/P2 start, ESC and Pause
3. Happens at least one time a game in 1942 (random loop) or other shooters where a bomb is randomly released. Did not notice a problem in NBA Jam or TMNT.
4. Windows XP
5. Stripped CAT 5 for the wiring (new to this setup)
6. All noticed random presses have been P1 B2 except one time it was Pause.

So far I have:
1. Resaved my configuration to the IPAC
2. Made sure P1 B1/B2 wires did not have contact.



In a small ghost town there's a little arcade where the poltergeists play their video games...

miles2912

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 706
  • Last login:October 31, 2019, 05:30:24 pm
  • My first Home Game. Fairchild System F.
Re: 'Ghost' Key Presses
« Reply #1 on: August 25, 2009, 05:09:37 pm »
I would go through the checklist here and see if it helps.  Towards the bottom of the page is the troubleshooting.

http://www.ultimarc.com/ipac2.html

  Scratch built upright MAME Cab

ultrageek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Last login:August 23, 2012, 02:27:56 pm
  • If at first you don't succeed, you fail.
Re: 'Ghost' Key Presses
« Reply #2 on: August 26, 2009, 09:55:57 am »
I wonder if the tristed pair wiring in the cat 5 is inducting a singal into the other pair(s).
I'v seen stranger. I know that this is extremely low voltage and shouldn't be an issue, but since the Cat 5 is new to the design, it's a likely contributor to the problem

CrazyKongFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 569
  • Last login:June 06, 2017, 01:22:29 pm
Re: 'Ghost' Key Presses
« Reply #3 on: August 26, 2009, 11:03:06 am »
Isn't that why the twisted pairs in cat 5 are twisted in the first place, to prevent interference?

bkenobi

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:August 16, 2021, 10:41:52 pm
Re: 'Ghost' Key Presses
« Reply #4 on: August 26, 2009, 11:25:45 am »
You are not inducing a signal by a button press.  I'm not an EE, but I know that inducing a current requires a high current on the source side.  You have (essentially) 0 amps running through the buttons, so you will have 0 amps running down any other conductors.  You may have 5 volts, but it's got (essentially) no current so you can't induce with it.

Klomper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:September 09, 2009, 01:22:37 pm
Re: 'Ghost' Key Presses
« Reply #5 on: August 26, 2009, 11:39:15 am »
My thoughts were the wires as well and I did some additional testing last night.

Did not work:
1. CP has two sets of buttons 1 & 2 at 8way and 4 way stick and it happened using either set. Both sets are wired on a set of twisted pair.
2. Thought I may have nicked the wires when removing the jackets.  Looked OK but added some electrical tape at the point to be sure.
3. Removed the quick disconnect from both button 2
4. Removed 4way b1/b2 wires from IPAC

Works but not the 'real' fix:
Mapped 'l-ctrl' to 1sw7 input on the ipac and 'c' to sw1 input since b7 is not used.  Was able to complete 2 games of 1942 without false loops. (these buttons are wired on the same cable but different twisted pairs)

Another note in IPAC test mode l-ctrl sometimes registers as r-ctrl? In fact when I switched the mapping and pressed l-ctrl on my keyboard it registered as r-ctrl the first time.
In a small ghost town there's a little arcade where the poltergeists play their video games...

Beretta

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 798
  • Last login:December 20, 2021, 02:11:30 pm
Re: 'Ghost' Key Presses
« Reply #6 on: August 26, 2009, 12:39:16 pm »
i'd be SHOCKED if it's the ethernet.

wire normally used in ethernet is cat5+, very good quality wire.

in some cases people transmit power to power remote devices using PoE (power over ethernet) which calls for 48 volts.

the arcades controls calls for MUCH less then that usually around 5 volts or less, and like someone said almost no amp's


if i had to guess i'd say it's a wiring mistake.. or possibly a stray strand of wire.. you know need a tiny strand of wire to be on the loose.. htis is a problem when soldering also a single strand you missed creating a short.

i'd also check mame "input" settings... is it at all possible somehow mame's button configuration is off? you said you did not notice it in tmnt or nba jam
Anyone got change for a dollar?
PLEASE HELP NEED Fastmame .70 and .9* releases