The files in this repository will add an additional USB mode ("XInput") to your Teensy 3 board, allowing it to emulate an Xbox gamepad.
This is meant to be used in conjunction with the ArduinoXInput library.
You must have both Arduino and Teensyduino installed before proceeding. Double-check that your installed Teensyduino version matches the files provided in this repository. This repository is currently using version 1.56. If you don't know your Teensyduino version, compile a blank sketch with a Teensy board selected and the Teensy Loader will open. In the Teensy Loader window select
Help -> About and it will tell you the version number. If your version does not match you will have to reinstall or update the Teensyduino software.
Navigate to your Arduino installation directory and open up the 'hardware' folder. It is recommended that you make a backup of this folder before proceeding in case something goes wrong or if you want to revert the installation.
To install, copy the files from the repository's "teensy" directory into the hardware folder and replace any pre-existing files. This will not affect your saved sketches.
To uninstall, restore your 'teensy' folder from a backup or reinstall Teensyduino.
No Console Support
This will not enable you to use your Teensy with an Xbox console! Genuine controllers use a dedicated hardware security chip that handshakes with the console. The Teensy boards do not have this chip, and its security method has not been (openly) broken.
No Commercial Use
These board definitions make use of Microsoft's VID and PID in order to latch on to the PC driver. As such this is strictly for educational or development use by non-commercial entities.
Credits and Contributions
A massive thank you to Zach Littell, whose did all of the original legwork in putting this together. Check out some of his stuff at zlittell.com.
The original Teensy core files and their modified versions are licensed under a modified version of the permissive MIT license. Newly contributed files are licensed under the MIT license with no additional stipulations.
See the LICENSE file for more information.