Skip to content

Arduino sketch to turn a Teensy board into a game-pad with joysticks and led status

Notifications You must be signed in to change notification settings

DBaker85/teensy-gamepad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Teensy Gamepad 1.0


Background

This is based on sotasystems' excellent code for turning a Leonardo pro micro controller into a gamepad for his PiBoy project. The teensy allows me to have some cooler functions, even if a teensy is a little overkill for this use case.

Features include :

  • Joystick autocalibration from Sota's code (Just rotate the joysticks 360 degrees a couple of times and they are calibrated)
  • Neopixel status led

Required Hardware and Software
  • Teensy 3.x (This code was developed exclusively on a Teensy 3.2)
  • Momentary or press switches to act as buttons
  • Arduino IDE 1.8.x
  • teensyduino add on for arduino IDE

Optional Hardware and Software
  • One or two Analog Joysticks (I used 2 of these)

Dependencies
  • Bounce library (Comes with teensyduino)

Led feature requirement

This feature is heavily dependent on other hardware and scripts


Installation

// TODO

Links

The original code can be found on this thread: http://www.sudomod.com/forum/viewtopic.php?f=22&t=1766

About

Arduino sketch to turn a Teensy board into a game-pad with joysticks and led status

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%