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
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ The following API is available if the Joystick library in included in a sketch f
52
52
Constructor used to initialize and setup the Joystick. The following optional parameters are available:
53
53
54
54
- uint8\_t hidReportId - Default: 0x03 - Indicates what the joystick's HID report ID should be. This value must be unique if you are creating multiple instances of Joystick. Do not use 0x01 or 0x02 as they are used by the built-in Arduino Keyboard and Mouse libraries.
55
+
- uint8\_t buttonCount - Default: 32 - Indicates how many buttons will be available on the joystick.
55
56
56
57
###Joystick.begin(bool initAutoSendState)
57
58
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.
@@ -112,4 +113,4 @@ I have tested this library with the following boards:
0 commit comments