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: Reusing a gamepad board with weird wiring  (Read 1714 times)

0 Members and 1 Guest are viewing this topic.

msx

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:November 20, 2020, 10:33:52 am
  • I want to build my own arcade controls!
Reusing a gamepad board with weird wiring
« on: November 16, 2020, 03:24:12 am »
Hi, i'm new here so hello everybody :)
I have an old gamepad with terrible buttons, i'd like to reuse the PCB inside to connect it to a joystick kit (like the ones you can find everywhere on amazon etc). It seemed like a simple task until i looked at the PCB:



On the right are the game buttons, they're wired as expected: each two contacts are GND and a button specific pin. They even offer pads to access the traces and solder a wire :)

On the left is the joystick connection. I expected the same thing as for the buttons, but it's not. They're connected to each other in the following way, which i reconstructed looking at traces and with a tester:



The blue connection is ground, the others are all pin specific. Looks like the yellow goes throu a 1k resistor, the rest of the pins go straight to the IC.

So is this thing common? I've not much experience but i've always seen each pin paired with GND. How does it works exacly?

And most importantly: if i have a joystick like this one, with a 5 pin connector, am i still able to wire it to the pcb somehow ?

Thanks in advance!


Vocalitus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 400
  • Last login:October 25, 2021, 06:16:58 pm
  • I want to build my own arcade controls!
Re: Reusing a gamepad board with weird wiring
« Reply #1 on: November 20, 2020, 04:26:20 am »
Do yourself a favor and get an encoder board for $8.

You will thank me later.  Soldering those pads can be troublesome.  I remember PC pad hacks back in the early days.....

msx

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:November 20, 2020, 10:33:52 am
  • I want to build my own arcade controls!
Re: Reusing a gamepad board with weird wiring
« Reply #2 on: November 20, 2020, 05:01:42 am »
Do yourself a favor and get an encoder board for $8.

You will thank me later.  Soldering those pads can be troublesome.  I remember PC pad hacks back in the early days.....

Hi! I have some of those.. The problem is: they all appear identical from the USB point of view (same vendor id and product id), and i can't distinguish them in the system. When i unplug one, or start the pc with both plugged, the system (linux+retroarch) assing random users to each joystick. I haven't been able to tell it to keep any joystick to a specific player. If anyone has a solution on this it would be greatly appreciated!

For context, my cabinet is single player but i have a second joystick that i plug when i have guests playing.

Mike A

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5906
  • Last login:Yesterday at 09:29:01 am
  • This plan is foolproof
Re: Reusing a gamepad board with weird wiring
« Reply #3 on: November 20, 2020, 07:00:18 am »
Some of those encoder boards have P1 and P2 inputs on the same board.

I imagine that would solve your problem.