1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
|
XInput USB Core for Arduino AVR
The files in this repository allow you to emulate an Xbox gamepad (XInput) using a USB-capable Arduino microcontroller.
Installation
└───Arduino Installation ├───drivers ├───examples ├───hardware │ ├───arduino │ ├───tools │ └───xinput │ └───avr │ ├───bootloaders │ ├───cores │ ├───libraries │ └───variants ├───java ├───lib ├───libraries ├───reference ├───tools └───tools-builder
To install, download the latest version of this repository to your PC. Navigate to the directory containing your Arduino installation, and then open up the 'hardware' folder. Extract the contents of the .zip file into this directory. You should have a new 'xinput' folder with an 'avr' folder inside of it, containing the files from this repository (see the tree view above).
Restart the Arduino IDE. If the XInput AVR core is installed correctly, you should see a new collection of "XInput AVR Boards" in the Tools -> Boards
menu.
To uninstall, delete the 'xinput' folder in the 'hardware' directory, and then restart the Arduino IDE.
Supported Boards
- Adafruit Circuit Playground 32u4
- Arduino Esplora
- Arduino Industrial 101
- Arduino Leonardo
- Arduino Leonardo ETH
- Arduino Micro
- Arduino Robot Control / Motor
- Arduino Yún
- Arduino Yún Mini
- LilyPad Arduino USB
- Linino One
Unfortunately boards such as the Uno, Nano, or Mega that do not have native USB support will not work.
License
The Arduino core files are licensed under the terms of the GNU Lesser General Public License (LGPL) version 2.1. Modifications are released under these same terms. See the LICENSE file for more information.
Newly contributed files for XInput support are licensed under the terms of the more permissive MIT license.