Skip to content

Commit

Permalink
Merge pull request #12 from dmadison/pre-release
Browse files Browse the repository at this point in the history
Pre-Release
  • Loading branch information
dmadison authored Mar 18, 2019
2 parents 2796936 + bfd61b8 commit 5d7f884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Before the library will work, you must install a compatible boards file that con

After installing a compatible boards package, you must then [download and install the library](https://www.arduino.cc/en/guide/libraries). Once the XInput library is installed, open up the Arduino IDE and load an example sketch, located in `File -> Examples -> XInput` (I suggest trying the 'Blink' sketch first). Double-check that you have the correct XInput board selected in the 'Tools' menu, then upload the sketch to your microcontroller.

On Windows, you can test that the sketch is working properly by opening up the joystick control panel ([joy.cpl](https://support.microsoft.com/en-us/help/831361/how-to-troubleshoot-game-controllers-in-microsoft-games)) or by using [GamepadViewer.com](https://gamepadviewer.com/?p=1). If you uploaded the XInput 'Blink' example, the #1 button ('A') should be slowly turning on and off.
On Windows, you can test that the sketch is working properly by opening up the joystick control panel ([joy.cpl](https://support.microsoft.com/en-us/help/831361/how-to-troubleshoot-game-controllers-in-microsoft-games)) or by using [GamepadViewer.com](https://gamepadviewer.com). If you uploaded the XInput 'Blink' example, the #1 button ('A') should be slowly turning on and off.

## Control Surfaces

Expand Down
2 changes: 1 addition & 1 deletion src/XInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#ifdef USB_XINPUT
#warning "Unknown board. XInput may not work properly."
#else
#error "This board does not support XInput!"
#error "This board does not support XInput! You must use a USB capable board with the corresponding XInput boards package. See the list of supported boards in the 'extras' folder for more information"
#endif
#endif /* if supported board */

Expand Down

0 comments on commit 5d7f884

Please sign in to comment.