You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-15Lines changed: 11 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,14 +92,14 @@ Constructor used to initialize and setup the Joystick. The following optional pa
92
92
-`bool includeBrake` - Default: `true` - Indicates if the Brake is available on the joystick.
93
93
-`bool includeSteering` - Default: `true` - Indicates if the Steering is available on the joystick.
94
94
95
-
The following constants define the default values for the constructor parameter's listed above:
95
+
The following constants define the default values for the constructor parameters listed above:
96
96
97
97
-`JOYSTICK_DEFAULT_REPORT_ID` is set to `0x03`
98
98
-`JOYSTICK_DEFAULT_BUTTON_COUNT` is set to `32`
99
99
-`JOYSTICK_DEFAULT_HATSWITCH_COUNT` is set to `2`
100
100
101
101
### Joystick.begin(bool initAutoSendState)
102
-
Starts emulating a game controller connected to a computer. By default all methods update the game controller state immediately. If `initAutoSendState` is set to `false`, the `Joystick.sendState` method must be called to update the game controller state.
102
+
Starts emulating a game controller connected to a computer. By default, all methods update the game controller state immediately. If `initAutoSendState` is set to `false`, the `Joystick.sendState` method must be called to update the game controller state.
103
103
104
104
### Joystick.end()
105
105
Stops the game controller emulation to a connected computer.
@@ -201,18 +201,8 @@ I have tested with 0, 1, and 2 hat switches.
201
201
202
202
I have tested this library using the following Arduino IDE Versions:
203
203
204
-
- 1.6.6
205
-
- 1.6.7
206
-
- 1.6.8
207
-
- 1.6.9
208
-
- 1.6.10
209
-
- 1.6.11
210
-
- 1.6.12
211
-
- 1.6.13
212
-
- 1.8.0
213
-
- 1.8.1
214
-
- 1.8.2
215
-
- 1.8.3
204
+
- 1.6.6 through 1.6.13
205
+
- 1.8.0 through 1.8.3
216
206
217
207
I have tested this library with the following boards:
218
208
@@ -224,10 +214,16 @@ Others have tested this library with the following boards:
224
214
-[SparkFun Pro Micro](https://www.sparkfun.com/products/12640)
225
215
-[RobotDyn Micro ATmega32U4-MU](http://robotdyn.com/catalog/boards/micro_atmega32u4_mu/) by [@Sylverzerom](https://github.com/Sylverzerom)
226
216
217
+
Boards that should work, but I have not personally tested:
-[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))
229
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.
230
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.
231
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.
0 commit comments