A GAMING CONTROLLER FOR ANY GAME(ALMOST)
Step 1: INTRODUCTION
In this instructable I am going to show you how you can make a U.S.B game controller using a keyboard and some other components
Step 2: MATERIALS REQUIRED
1. A Keyboard
2. A Case( I am using a cassette case )
3. Momentary switches 10 (+ 2 Optional )
4. A Jack and Plug (Optional)
Step 3: REMOVING THE PCB FROM THE KEYBOARD
The P.C.B is one of the key component of this project. After removing the screws from behind the keyboard, open it and there will two sections. In the lower one you will find the P.C.B. Carefully remove it out
Step 4: MAPPING THE KEYS
Basically how a keyboard works
is ,there are two terminals for a key(alphabet/number /symbol)and when they get connected while pressing the keys , the microcontroller present inside it detects it and sends it to the computer which then displays it . So what we are doing is eliminating all the unwanted keys and using only the required ones (keys which are used in game).
How to find the terminals required.
1. Connect the P.C.B to the computer
2. Open ‘Notepad’ or ‘Word’
3. Then take a wire and start connecting the terminals of the P.C.B one by one until you
find the key required which gets displayed on the screen(in ‘notepad’ or ‘word’).
4.Note down the key terminals number.
Step 5: CONNECTING WIRE TO THE PCB
After mapping the keys start connecting wires according to the required keys. I tried soldering the wires to the terminals but couldn’t do it so I just used some electrical tape to connect them.
UPDATE-- Wouldn't recommend electrical tape as it comes off after some time and keys don't work.Try hot glue or any other method instead.
Step 6: PREPARING THE CASE
Then take the case and make holes in it to attach momentary switches. I attached 8 switches in the front and 2 at the top. I made the holes using a soldering iron
Step 7: CONNECTING THE WIRE FROM THE PCB TO THE SWITCH
After preparing the case connect the wires from the P.C.B to the momentary switches which are attached to the case.
Step 8: FINISHING
You are basically done now. Close the case, add some design or decorate it . I just used electrical tape to cover it .
Step 9: OPTIONAL
I decided to add a foot pedal so that i could use it in racing games . So I added two jacks at the bottom of the case and connected it to the the P.C.B. I made the foot pedals using two cardboard pieces a momentary switch and a plug.
It’s done you have your controller . ENJOY GAMING !!!