Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.98 KB

File metadata and controls

49 lines (35 loc) · 1.98 KB

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