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: Jukebox USB joystick hack - HOWTO  (Read 11161 times)

0 Members and 1 Guest are viewing this topic.

Burke LaShell

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 52
  • Last login:October 10, 2015, 06:45:05 pm
Jukebox USB joystick hack - HOWTO
« on: February 20, 2010, 02:41:19 pm »
I thought I'd post the details of my USB joystick hack, in case it could help someone.

I purchased a USB joystick from DealExtreme. It was just $9.19, shipped, and it's easy to hack.
http://www.dealextreme.com/details.dx/sku.618


Remove the small screws on the back side of the joystick to open it.  My joystick had one screw hidden under a round sticker.  The wires from the USB cable are really small and delicate.  I added a few globs of hot glue where they connect to the circuit board to give them some more strength.

I removed a couple smaller boards, removed the rumble motors, and removed the left and right triggers.  Remove the arrow buttons.  I only needed three buttons for my jukebox, so the arrows buttons were perfect.  In this picture, you can see the copper pads under where the arrow buttons used to be, with my wires soldered.


When you press down on a button on the joystick, the button "short circuits" across two halves of a copper pad.  To hack the joystick, we need to solder wires to the two halves of the copper pad, and then attach the wires to the terminals of an external button.  That way, when you press the external button, it shorts the two halves of the pad and the joystick will record a button push.

One half of the pad is "ground" and is shared among all the buttons.  Just look at the traces and see which path connects to half of all the pads.  That's the ground (you'll connect this to the common terminal on your external button).  The other half of the pad will be connected to the NO terminal of your external button.

The easiest way to solder a wire to a copper pad is to drill a small hole through the pad, poke the wire up through the hole, apply solder, and then cut the extra wire poking out of the solder.  Amazon has some cheap drill bits for this... http://www.amazon.com/gp/product/B000FMYG8U/ref=oss_product

I nibbled away some of the plastic and ran the wires out of the handle of the joystick.  I mounted the joystick to a small board, and ran the wires to a barrier strip.  You can get this at Radio Shack for a couple of bucks. http://www.radioshack.com/product/index.jsp?productId=2103983
  Label each of the wires (Up, Down, Left, Right, Ground).

Next, you need to connect the wires to your external buttons.  The common terminal of the buttons are all connected together, and connect to the ground screw on the barrier strip.  The Up, Down, and Right external button NO terminal connects to the corresponding connection on the barrier strip.


I connected the buttons below the touch screen, and duplicate buttons behind the bar.

For my jukebox, Up=volume up, Down=volume down, and right=skip song.


Once everything is wired up, you need some software to translate the button presses to keys.  I used JoyToKey...  http://www.electracode.com/4/joy2key/JoyToKey%20English%20Version.htm

I use AudioSoft eJukebox software.  There are lots of shortcut keys that can be mapped to physical buttons if you want. http://www.audiosoft.net/forums/viewthread.php?tid=2361#pid78520

Overall, this was a pretty easy hack, with pretty cool results.


--Burke

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re: Jukebox USB joystick hack - HOWTO
« Reply #1 on: February 22, 2010, 02:08:33 am »
Once everything is wired up, you need some software to translate the button presses to keys.  I used JoyToKey...  http://www.electracode.com/4/joy2key/JoyToKey%20English%20Version.htm

Or use jukebox software that can natively use the gamepad input.  Is DWJukebox the only one that can?  ;)

(OK, that was pretty shameless of me... sorry.... :D )

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

HaRuMaN

  • Supreme Solder King
  • Global Moderator
  • Trade Count: (+45)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 10328
  • Last login:July 14, 2025, 02:03:34 pm
  • boom
    • Arcade Madness
Re: Jukebox USB joystick hack - HOWTO
« Reply #2 on: February 22, 2010, 01:01:00 pm »
The easiest way to solder a wire to a copper pad is to drill a small hole through the pad, poke the wire up through the hole, apply solder, and then cut the extra wire poking out of the solder.

Just as long as you don't wreck any electronic parts / traces on the other side.  This will depend entirely on the PCB you are working with.

Just out of curiosity, why didn't you just decase the whole thing, and get rid of the plastic shell altogether?

Burke LaShell

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 52
  • Last login:October 10, 2015, 06:45:05 pm
Re: Jukebox USB joystick hack - HOWTO
« Reply #3 on: February 23, 2010, 12:30:43 pm »
Quote
Just out of curiosity, why didn't you just decase the whole thing, and get rid of the plastic shell altogether?
I considered it, but
*The USB cable coming off the board is delicate.  Keeping the case protects it.
*I still would have needed to mount the board somewhere.
*The left thumbstick works, so you can adjust volume and skip songs with it.  I thought that was cool.

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Jukebox USB joystick hack - HOWTO
« Reply #4 on: February 25, 2010, 12:42:27 pm »
Once everything is wired up, you need some software to translate the button presses to keys.  I used JoyToKey...  http://www.electracode.com/4/joy2key/JoyToKey%20English%20Version.htm

Or use jukebox software that can natively use the gamepad input.  Is DWJukebox the only one that can?  ;)

(OK, that was pretty shameless of me... sorry.... :D )

--Chris

All my jukebox software (Arcade Music Box as well MultiFE) can use native them too. So you are not 100% alone. Howover if it works that way. then that still works. Its hence JoyToKey and such software exits ;-D.

Nice hack anyway and nice installed on your jukecab.
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

prezo1

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 44
  • Last login:February 28, 2020, 07:45:03 pm
Re: Jukebox USB joystick hack - HOWTO
« Reply #5 on: March 03, 2010, 02:04:08 pm »
were are the  green,blue,orange and brown wires going to. 

Burke LaShell

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 52
  • Last login:October 10, 2015, 06:45:05 pm
Re: Jukebox USB joystick hack - HOWTO
« Reply #6 on: May 17, 2010, 01:51:02 pm »
Quote
were are the  green,blue,orange and brown wires going to

Brown - goes to the "common" connection on all the buttons
Green - goes to the NO (normally open) connection on the RIGHT buttons
Orange - goes to the NO (normally open) connection on the DOWN buttons
Blue - goes to the NO (normally open) connection on the UP buttons