This tutorial combines an original NES controller, USB keyboard, wire and tact switches into a USB NES controller suitable for use with NES and arcade emulators. The basic idea is that the keyboards controller unit is installed in the NES controller housing. The original buttons activate tact switches that are wired to the keyboard controller. When the NES controllers buttons are activated, they're registered by your computer as a key press. If you're comfortable with a soldering iron and don't mind working in small spaces, you should be able to make a USB NES controller with cheap and readily available parts. I would recommend reading the whole tutorial before starting as understanding the whole process will be of great benefit for completing each step.

I found a janky old NES controller that had seen better days in my cupboard. Considering its poor condition, I wanted to sacrifice it for a retro gaming project. I ended up combining it with an old PS2 keyboard as a frankenstein style prototype for this instructable. I was then confident enough to pick up a cheap usb keyboard and sacrifice a controller in decent condition. The benefit of using a keyboard as the brains of the controller is that it wont require drivers and will be compatible with most operating systems. Plus, it's a cheap way to convert an old piece of gaming kit into something you'll get some use out of.

Step 1: Things You Need

Parts list:
- 1x Nintendo NES controller
- 1x USB Keyboard*
- 8x Tact switches
- Hookup wire. preferably coloured to make life easier when soldering.

* Keyboard controller contained within needs to be small in size. Older keyboards tend to use controllers too large for this project. If unsure what this means, see next step.

- Soldering equipment
- Dremel (rotary tool) with cutting bit
- Drill
- Small files
- Hot glue gun
<p>Less than $5 CDN with shipping on ebay for a NEW usb NES controller so the time and effort of this project is a waste, as is your result compared to a quality proper one.</p>
<p>You probably could use this for almost everything</p>
<p>It is totally worth it. It's a fun project that is rewarding especially if it is for something like a retro pie Raspberry pi where you want to make everything</p>
<p>Not a waste at all. This practice also can apply if you are trying to make a MAME arcade or any number of devices using switch inputs. Thank you so much to the creator, this helped me tons on finishing my own 2 player arcade station. Far cheaper than an IPAC, and it allows for easy customization.</p>
<p>This is not at all a waste @KevinR129!</p><p>This guide will help me a lot in modifying my SNES Controller to have 2 additional buttons.</p><p>I never thought of just using a keyboard controller board for this.</p><p>But 14 buttons will be a lot more to wire, well... lets do this.</p><p>BIG THANKS to you <a href="https://www.instructables.com/member/x2Jiggy/" rel="nofollow">x2Jiggy</a></p>
can you elaborate more on the ghosting? why would you use a single contact for two stitches? i don't quite understand. <br> <br>thanks in advance!
Ideally you will have all 8 inputs using separate pins (8 from either group of pins) to eliminate the problem of key ghosting all together however that's usually not possible. Most likely you will have to use a couple of the pins for two inputs. <br> <br>If you look at the image where the coloured wires are soldered to the pins of the keyboard controller, you'll notice I was able to use 8 pins of the first group of pins but only 6 pins from the second group because these were the only pins that provided a useful key stroke (The area within the comment box is the second group). <br> <br>To prevent any potential issues with ghosting, when I had to use a pin for two inputs, I used inputs that would never be pressed simultaneously such as up/down and left/right. Hope this helps! Thanks for reading.
<p>I think I understand what you're saying but when I look at the picture I can't see any pin that has more than one wire attached. What am I missing?</p>
excuse me sir! i you tell me some thing if i want to make a game controller with 22 pins buttons with a with a keyboard?
<p>or buy one (of course with USB) on aliexpress.com. You're welcome ;)</p>
<p>perhaps an aliexpress.com instructable is in order?</p>
Nice 'structable. Concise and easy to follow. I want to give this a shot with my phone. I like the idea of using an SNES controller, but this is a good for a practice run. <br> <br>My only critique, is the glue on the switches looks bad. I know it's not visible with the case closed but... Hot glue is the tool of the devil and his head minion Martha Stewart <br> <br>I'm probably going to use epoxy for a lower profile but I need to understand why you needed to replace the original switches. If it's simply a matter of closing the circuit why not solder the kb controller leads to the remaining nintendo board. What am I not seeing?
<p>If you, like Angus, are thinking of using epoxy instead of hot glue, FIRST make sure it doesn't conduct electricity once cured (epoxies are typically electrically insulating, however, J-B Weld and other metal-based products obviously should NOT be used). You will almost certainly bridge multiple connections with it on the keyboard PCB (circuit board). Cheers.</p>
<p>I do not see the select button</p>
<p>Making this in my Tech class :D will be fun to use with my emulators and my micro usb to usb adptor on my phone already found one input (p) testing the conections i accetendly put my pc to sleep </p>
<p>I've seen a few of these tutorials and honestly, yours looks the cleanest and easiest to follow. thanks for this!</p>
what gauge hookup wire did you use?
Can I take the hosting from a Wireless Keyboad?
So, correct me if I'm wrong, but the original controller board isn't involved with any of the circuitry? You just use it to maintain proper placement for the buttons, and the tac switches are the only things wired?<br><br>I've been looking for some ideas to include a USB hub inside, and if I understand you right, this should let me free up way more space for extra hardware. Definitely a tweak to consider.<br><br>Great guide!
I was wondering do you have to use the tact switches or can you not just connect the wires directly to the circuit board? <br> <br>but thanks a lot for the instruction i read some other tutorials for the keyboard controller configuration but yours is the easiest to do yet =3
I was just using the circuit board as a holder for the tact switches. There are solutions for using the existing pcb however you're taking the output of the NES controller and converting it into something your computer can read (<a href="http://www.retrousb.com/product_info.php?cPath=25&products_id=44" rel="nofollow">link</a>).<br> This solution doesn't make use of any of the NES controllers circuitry but installs a keyboard controller and wires the buttons up to it. I found this to be the easiest and cheapest method of getting the job done.
i was wanting to do a project where i could play emulated games with an origional controller instead of a keyboard, or a specific emulating controller, and i didnt want to spend all the money on buying and arduino board, and i didnt want the lag time that wouldve gone with it. anyway, im almost done with my keyboard nes controller, and it works! thanks for your instructable!
Awesome. Glad I could help. It's a good time playing NES with the original controller. Enjoy the fruits of your labour :D
Wow is a great idea, I wish I still have NES controllers around, I still have a SNES controller in my spare part cabinet, can you make the same guide but for a USB SNES controller, not so retro but will have at least 4 more buttons that will be nice for PC games.
You could definitely make a SNES controller using the same method but some more planning with the keyboard controller and wiring would be required to accommodate the extra 4 inputs. I have a couple of SNES controllers so I'll take look if I get the chance. Thanks for reading :D
looks great, the perfect addition when running emulators!
Cheers! There has been some sessions of SMB3 and Marble Madness, good times.

About This Instructable




Bio: A tech and gadget enthusiast who enjoys building and creating DIY projects. Check out my projects and tutorials on Instructables and x2Jiggy.com!
More by x2Jiggy:Compact Fluorescent Grow Light Atari Combo Controller Portable Phone Speaker (LM380) 
Add instructable to: