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: Wanting to Hack a USB Gamepad  (Read 2714 times)

0 Members and 1 Guest are viewing this topic.

jholman76

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:May 05, 2015, 03:40:45 pm
Wanting to Hack a USB Gamepad
« on: June 24, 2008, 08:34:12 pm »
I'm looking for a cheap gamepad to hack for a 1player mobile CP box. ebay has some cheap ones from china:

http://cgi.ebay.com/USB-10-KEYS-CONTROLLER-PC-GAME-PAD-New_W0QQitemZ330245308867QQihZ014QQcategoryZ31215QQssPageNameZWDVWQQrdZ1QQcmdZViewItem

looks like a PSX controller... anyone every try these out or have any other cheap suggestions? I'm looking for about 8-10 buttons.
THanks

Joe
« Last Edit: June 24, 2008, 08:36:36 pm by jholman76 »

MK3FAN

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 975
  • Last login:May 09, 2022, 07:07:29 pm
Re: Wanting to Hack a USB Gamepad
« Reply #1 on: June 24, 2008, 09:48:18 pm »
I did this exact thing for a Mortal Kombat control panel I wanted to test out...

Current collection - 28 cabs, 4 pins. (32 machines and not enough room)

jholman76

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:May 05, 2015, 03:40:45 pm
Re: Wanting to Hack a USB Gamepad
« Reply #2 on: June 24, 2008, 10:03:43 pm »
Ha, thats pretty funny, I just got done watching that vid on youtube... good work.

I read a tutorial about hacking a gravis game pad pro but they warned of ghosting with the main keys. I was just hoping the cheapie I got on ebay wont do that because I want 8-10 buttons.

Blanka

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2248
  • Last login:January 25, 2018, 03:19:28 pm
Re: Wanting to Hack a USB Gamepad
« Reply #3 on: June 25, 2008, 01:34:58 am »
Guess when you make a gamepad as USB gamepad, that no ghosting should occur. USB has a HID standard for gaming pads, so I guess they deal with ghosting well. If the pad is recognised as a keyboard things can be bad, but as a gamepad? Would be very strange.

severdhed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2975
  • Last login:December 14, 2024, 05:01:52 pm
  • RIP Dinosaur Hippo
Re: Wanting to Hack a USB Gamepad
« Reply #4 on: June 25, 2008, 03:32:28 pm »
i hacked a gravis gamepad pro usb controller the other day for the cabinet i am workign on.  there are ghosting problems with the 4 main buttons, all of the others, plus the dpad work fine.  i didn't need that many buttons, so it worked out OK for me.  it is weird when you hook it up though and test it...if i press up on the dpad, it registers that direction, plus one of the 4 main buttons at the same time.  each direction on the dpad corresponds to one of the four main buttons.  it works ok this way, just when you configure mame, it thinks you are pressing two buttons at once.    this worked fine for me since this is a vertical classics cabinet, and only has a 4 way stick and 3 buttons, plus two coins, two starts, and a pause button.  i used mouse buttons for two of the main buttons, so the gamepad pro was sufficient for what i needed...if you need more inputs, i'd go with something else.

Current Projects:      Zak-Man | TMNT Pedestal | SNES Pi | N64 Odroid
Former Projects:     4 Player Showcase | Donkey Kong | iCade

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Wanting to Hack a USB Gamepad
« Reply #5 on: June 25, 2008, 03:48:57 pm »
I had a similar problem with a hack on a different pad. I've hacked a few original joypads without trouble but on a couple of generic pads I've found that not only do the buttons have a common ground, from tracing the tracks it appears some buttons share a main connection with others too, and upon connecting them up after hacking they result in what you described; registering two presses at once. Maybe they have some weird architecture that makes then function properly, that fails when it gets hacked.

northerngames

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2927
  • Last login:April 09, 2016, 04:18:51 pm
Re: Wanting to Hack a USB Gamepad
« Reply #6 on: June 25, 2008, 04:09:42 pm »
a xbox pad will work with the USB mod they can be had for cheap at a pawn shop garage sale ebay etc.

there's plenty of buttons plus analog if needed for something else.

use the XBCD drivers to run it and xpadder to custom map it if needed.

brock.sampson

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 379
  • Last login:May 31, 2018, 10:11:41 pm
Re: Wanting to Hack a USB Gamepad
« Reply #7 on: June 25, 2008, 04:41:13 pm »
I bought a cheap logitech gamepad at target and it worked with no problems.  Not all of the buttons and none of the dpad connections share a common ground.

http://forum.arcadecontrols.com/index.php?topic=78297.msg816690#msg816690
DOC! YOU HAVE A TABLE OVER THERE WITH A SIGN THAT SAYS, "LASER DEATH RAY BARGAIN BIN!"

jholman76

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:May 05, 2015, 03:40:45 pm
Re: Wanting to Hack a USB Gamepad
« Reply #8 on: June 25, 2008, 08:00:00 pm »
Oh, Awesome.. 10 buttons for 10 bucks... I'm on my way to Target right now....

jholman76

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Last login:May 05, 2015, 03:40:45 pm
Re: Wanting to Hack a USB Gamepad
« Reply #9 on: June 25, 2008, 10:45:06 pm »
Ok, so I got 2 of those pads and I picked up a used xbox version 1 (bear claw) controller.

does anyone know if I can use the analog sticks in any mame games (flight, driving, etc) if I can manage to save and re-mount them to my CP?

Joe