Skip to content

Commit 533f534

Browse files
committed
Fixed issue with library properties
1 parent 7b6df84 commit 533f534

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

Joystick/library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name=Joystick
2-
version=2.0
2+
version=2.0.4
33
author=Matthew Heironimus
44
maintainer=Matthew Heironimus <[email protected]>
55
sentence=Arduino library that allows an Arduino Leonardo or Arduino Micro to appear as a Joystick or Gamepad.
66
paragraph=This library is built on the PluggableUSB library. It can be used with or without other HID-based libraries (Mouse, Keyboard, etc.).
77
category=Device Control
8-
url=https://github.com/MHeironimus/ArduinoDynamicHID
8+
url=https://github.com/MHeironimus/ArduinoJoystickLibrary
99
architectures=avr

Joystick/src/Joystick.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
Joystick.cpp
33
4-
Copyright (c) 2015-2016, Matthew Heironimus
4+
Copyright (c) 2015-2017, Matthew Heironimus
55
66
This library is free software; you can redistribute it and/or
77
modify it under the terms of the GNU Lesser General Public

Joystick/src/Joystick.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
Joystick.h
33
4-
Copyright (c) 2015, Matthew Heironimus
4+
Copyright (c) 2015-2017, Matthew Heironimus
55
66
This library is free software; you can redistribute it and/or
77
modify it under the terms of the GNU Lesser General Public
@@ -25,19 +25,19 @@
2525

2626
#if ARDUINO < 10606
2727
#error The Joystick library requires Arduino IDE 1.6.6 or greater. Please update your IDE.
28-
#endif
28+
#endif // ARDUINO < 10606
2929

3030
#if ARDUINO > 10606
3131
#if !defined(USBCON)
3232
#error The Joystick library can only be used with a USB MCU (e.g. Arduino Leonardo, Arduino Micro, etc.).
33-
#endif
34-
#endif
33+
#endif // !defined(USBCON)
34+
#endif // ARDUINO > 10606
3535

3636
#if !defined(_USING_DYNAMIC_HID)
3737

3838
#warning "Using legacy HID core (non pluggable)"
3939

40-
#else
40+
#else // !defined(_USING_DYNAMIC_HID)
4141

4242
//================================================================================
4343
// Joystick (Gamepad)
@@ -214,5 +214,5 @@ class Joystick_
214214
void sendState();
215215
};
216216

217-
#endif
218-
#endif
217+
#endif // !defined(_USING_DYNAMIC_HID)
218+
#endif // JOYSTICK_h

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Arduino Joystick Library
2-
#### Version 2.0.3
2+
#### Version 2.0.4
33
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.).
44

55
## Features
@@ -226,4 +226,4 @@ works with the Arduino Due. I have also been told Version 1.x of the the Arduino
226226
- [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.
227227
- [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.
228228

229-
(as of 2017-08-21)
229+
(as of 2017-09-02)

0 commit comments

Comments
 (0)