Skip to content

Commit 07dc2c2

Browse files
committed
Addressed issue with Arduino 1.6.6
1 parent d9771e8 commit 07dc2c2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Joystick/src/Joystick.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@
2727
#error The Joystick library requires Arduino IDE 1.6.6 or greater. Please update your IDE.
2828
#endif
2929

30+
#if ARDUINO > 10606
3031
#if !defined(USBCON)
3132
#error The Joystick library can only be used with a USB MCU (e.g. Arduino Leonardo, Arduino Micro, etc.).
3233
#endif
34+
#endif
3335

3436
#if !defined(_USING_DYNAMIC_HID)
3537

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ I have tested this library using the following Arduino IDE Versions:
208208
- 1.6.10
209209
- 1.6.11
210210
- 1.6.12
211+
- 1.6.13
211212

212213
I have tested this library with the following boards:
213214

@@ -223,4 +224,4 @@ works with the Arduino Due. I have also been told Version 1.x of the the Arduino
223224
- [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.
224225
- [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.
225226

226-
(as of 2016-10-17)
227+
(as of 2016-11-25)

0 commit comments

Comments
 (0)