Page 1 of 2

Joy stick addon as well?

Posted: Sat May 21, 2016 6:04 am
by LoafSlice
This is strange but could I wire a joy stick to the same u/d/l/r solders?

I kind of want to take apart a game boy SP and add a joystick to the game boy, might be cluttered but would be pretty darn sick

Re: Joy stick addon as well?

Posted: Sat May 21, 2016 9:23 am
by petran1420
I was considering this as well, though i've never wired an analog control before. Would it be as simple as hooking it up to analog ports on the teensy?

Re: Joy stick addon as well?

Posted: Sun May 22, 2016 10:43 pm
by Popcorn

Re: Joy stick addon as well?

Posted: Mon May 23, 2016 2:18 am
by sander
Or maybe something more compact like this one?

Re: Joy stick addon as well?

Posted: Mon May 23, 2016 6:29 am
by petran1420
@sander that one looks ideal. Now if it only had a breakout board :D

Re: Joy stick addon as well?

Posted: Mon May 23, 2016 7:08 am
by wermy
@sander I have one just like that, and it's super easy to wire up and use on a Teensy. So yeah you could probably do it pretty easily -- one of the reasons I like using the Teensy for these projects. :)

The only reason I didn't do it, honestly, is that the Pi Zero doesn't play many systems that would benefit from it very much (i.e only a few N64 games are playable). Just something to keep in mind. :)

Re: Joy stick addon as well?

Posted: Mon May 23, 2016 9:58 am
by petran1420
@wermy would it just get wired into the analog ports of the teensy? I've never wired an analog control before.

Re: Joy stick addon as well?

Posted: Mon May 23, 2016 10:04 am
by wermy
petran1420 wrote:@wermy would it just get wired into the analog ports of the teensy? I've never wired an analog control before.
Yep. There are 4 pins to wire up, and then some simple Arduino code to add to the Teensy sketch. You'd want to change it from doing keyboard events to doing gamepad events for the buttons too.

Re: Joy stick addon as well?

Posted: Mon May 23, 2016 10:36 am
by petran1420
Yep. There are 4 pins to wire up, and then some simple Arduino code to add to the Teensy sketch. You'd want to change it from doing keyboard events to doing gamepad events for the buttons too.
Sounds good. I'll try to find a guide online!

Re: Joy stick addon as well?

Posted: Mon May 23, 2016 10:39 am
by wermy
petran1420 wrote:
Yep. There are 4 pins to wire up, and then some simple Arduino code to add to the Teensy sketch. You'd want to change it from doing keyboard events to doing gamepad events for the buttons too.
Sounds good. I'll try to find a guide online!
I'll try to remember to post some sample code when I get home (as well as how I had it wired).