|
1 | 1 | # Arduino Joystick Library
|
2 |
| -#### Version 2.0.4 |
3 |
| -This library can be used with Arduino IDE 1.6.6 (or above) to add one or more joysticks (or gamepads) to the list of HID devices an [Arduino Leonardo](https://www.arduino.cc/en/Main/ArduinoBoardLeonardo) or [Arduino Micro](https://www.arduino.cc/en/Main/ArduinoBoardMicro) (or any Arduino clone that is based on the ATmega32u4) can support. This will not work with Arduino IDE 1.6.5 (or below) or with non-32u4 based Arduino devices (e.g. Arduino UNO, Arduino MEGA, etc.). |
| 2 | +#### Version 2.0.5 |
| 3 | +This library can be used with Arduino IDE 1.6.6 (or above) to add one or more joysticks (or gamepads) to the list of HID devices an [Arduino Leonardo](https://www.arduino.cc/en/Main/ArduinoBoardLeonardo) or [Arduino Micro](https://www.arduino.cc/en/Main/ArduinoBoardMicro) (or any Arduino clone that is based on the ATmega32u4) can support. This library will also work with the [Arduino Due](https://www.arduino.cc/en/Main/ArduinoBoardDue), thanks to [@Palakis](https://github.com/Palakis). A complete list of supported boards can be found in the [Wiki](https://github.com/MHeironimus/ArduinoJoystickLibrary/wiki/Supported-Boards). This will not work with Arduino IDE 1.6.5 (or below) or with non-32u4 based Arduino devices (e.g. Arduino UNO, Arduino MEGA, etc.). |
4 | 4 |
|
5 | 5 | ## Features
|
6 | 6 | The joystick or gamepad can have the following features:
|
@@ -185,45 +185,4 @@ Sets the value of the specified hat switch. The hatSwitch is 0-based (i.e. hat s
|
185 | 185 | ### Joystick.sendState()
|
186 | 186 | Sends the updated joystick state to the host computer. Only needs to be called if `AutoSendState` is `false` (see `Joystick.begin` for more details).
|
187 | 187 |
|
188 |
| -## Testing Details |
189 |
| -I have used this library to make an Arduino appear as the following: |
190 |
| - |
191 |
| -- 1 joystick / gamepad |
192 |
| -- 2 joysticks / gamepads |
193 |
| -- 3 joysticks / gamepads |
194 |
| -- 4 joysticks / gamepads |
195 |
| - |
196 |
| -I have tested with 1 - 32 buttons using the standard Microsoft Windows Game Controller Test dialog. |
197 |
| -I have also tested this with 1 - 64 buttons. |
198 |
| -To test a joystick with over 32 buttons, a third-party testing tool will need to be used (e.g. http://www.planetpointy.co.uk/joystick-test-application/). |
199 |
| - |
200 |
| -I have tested with 0, 1, and 2 hat switches. |
201 |
| - |
202 |
| -I have tested this library using the following Arduino IDE Versions: |
203 |
| - |
204 |
| -- 1.6.6 through 1.6.13 |
205 |
| -- 1.8.0 through 1.8.4 |
206 |
| - |
207 |
| -I have tested this library with the following boards: |
208 |
| - |
209 |
| -- [Arduino Leonardo](https://www.arduino.cc/en/Main/ArduinoBoardLeonardo) |
210 |
| -- [Arduino Micro](https://www.arduino.cc/en/Main/ArduinoBoardMicro) |
211 |
| - |
212 |
| -Others have tested this library with the following boards: |
213 |
| - |
214 |
| -- [SparkFun Pro Micro](https://www.sparkfun.com/products/12640) |
215 |
| -- [RobotDyn Micro ATmega32U4-MU](http://robotdyn.com/catalog/boards/micro_atmega32u4_mu/) by [@Sylverzerom](https://github.com/Sylverzerom) |
216 |
| - |
217 |
| -Boards that should work, but I have not personally tested: |
218 |
| - |
219 |
| -- [Arduino Leonardo ETH](https://store.arduino.cc/usa/arduino-leonardo-eth) |
220 |
| -- [Arduino Industrial 101](https://store.arduino.cc/usa/arduino-industrial-101) |
221 |
| -- [Arduino Yún](https://store.arduino.cc/usa/arduino-yun) |
222 |
| - |
223 |
| -Other board notes: |
224 |
| -- [Arduino Due](https://www.arduino.cc/en/Main/ArduinoBoardDue) - NOT Supported - I have been told that the old Arduino IDE 1.6.5 (and below) version of this library (see [Add USB Game Controller to Arduino Leonardo or Micro](http://mheironimus.blogspot.com/2015/03/add-usb-game-controller-to-arduino.html)) |
225 |
| -works with the Arduino Due. I have also been told Version 1.x of the the Arduino Joystick Library will work with the Arduino Duo. However, Version 2.x of the Arduino Joystick Library does not work with Arduino Due at this time. |
226 |
| -- [Arduino UNO](https://www.arduino.cc/en/Main/ArduinoBoardUno) - NOT Supported - However, it might work with the [NicoHood/HoodLoader2](https://github.com/NicoHood/HoodLoader2) library, but I have not had a chance to try this out yet. |
227 |
| -- [Arduino MEGA](https://www.arduino.cc/en/Main/ArduinoBoardMega2560) - NOT Supported - However, it might work with the [NicoHood/HoodLoader2](https://github.com/NicoHood/HoodLoader2) library, but I have not had a chance to try this out yet. |
228 |
| - |
229 |
| -(as of 2017-09-02) |
| 188 | +See the [Wiki](https://github.com/MHeironimus/ArduinoJoystickLibrary/wiki) for more details on things like FAQ, supported boards, testing, etc. |
0 commit comments