making a usb directional controller for pc games

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
chris114
 
Posts: 4
Joined: Fri Aug 31, 2012 5:00 pm

making a usb directional controller for pc games

Post by chris114 »

Hopefully this is the right place to ask my question. Ok so what else would I need to do with the Arduino Leonardo to make say Thru-hole 5-way Navigation switch work as like wasd for my pc to play games with?
help would be really appreciated thanks.
Edit:I could use one of the Half-size breadboards to set it all up correct?

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: making a usb directional controller for pc games

Post by adafruit_support_bill »

A proto-shield will plug right into the Leonardo. The pin-spacing on the navigation switch is non-standard. But you can bend the inner pins out flat like a surface-mount-part and the other pins will plug into the through-holes.

chris114
 
Posts: 4
Joined: Fri Aug 31, 2012 5:00 pm

Re: making a usb directional controller for pc games

Post by chris114 »

Ok so I guess I did not understand as much as I thought lol. If its possible do you think you could give me a list of all the items I would need to buy? Then possibly Tell and/or show me how to build it?

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: making a usb directional controller for pc games

Post by adafruit_support_bill »

We have a complete tutorial here based on an SNES game controller and a Teensy: http://learn.adafruit.com/usb-snes-gamepad

chris114
 
Posts: 4
Joined: Fri Aug 31, 2012 5:00 pm

Re: making a usb directional controller for pc games

Post by chris114 »

So if I get Teensy and attach it to a breadboard because I'm not good at soldering I could just add the Thru-hole 5-way Navigation to it to control direction because I want just 1 button?

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: making a usb directional controller for pc games

Post by adafruit_support_bill »

I have not tried that, but it should probably work. You will have to read the documentation of the navigation switch to figure out how to map its pins to the SNES buttons in the tutorial. It is essentially the equivalent of 5 pushbuttons: Up, Down, Right, Left and push down to select.

chris114
 
Posts: 4
Joined: Fri Aug 31, 2012 5:00 pm

Re: making a usb directional controller for pc games

Post by chris114 »

ok ordered some stuff i'll be back if I need more help.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”