Skip to content

Commit

Permalink
Merge pull request #160 from MHeironimus/version-2.0
Browse files Browse the repository at this point in the history
Version 2.0.7
  • Loading branch information
MHeironimus authored Aug 20, 2020
2 parents 6884663 + 8cb7b3f commit 35096a4
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Arduino Joystick Library

#### Version 2.0.6
#### Version 2.0.7

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 library will also work with the [Arduino Due](https://www.arduino.cc/en/Main/ArduinoBoardDue), thanks to [@Palakis](https://github.com/Palakis). A complete list of supported boards can be found in the [Wiki](https://github.com/MHeironimus/ArduinoJoystickLibrary/wiki/Supported-Boards). 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.).

Expand Down
6 changes: 3 additions & 3 deletions examples/DrivingControllerTest/DrivingControllerTest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void setup() {
}

pinMode(A0, INPUT_PULLUP);
pinMode(13, OUTPUT);
pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
Expand All @@ -106,12 +106,12 @@ void loop() {
if (digitalRead(A0) != 0)
{
// Turn indicator light off.
digitalWrite(13, 0);
digitalWrite(LED_BUILTIN, 0);
return;
}

// Turn indicator light on.
digitalWrite(13, 1);
digitalWrite(LED_BUILTIN, 1);

if (millis() >= gNextTime)
{
Expand Down
6 changes: 3 additions & 3 deletions examples/FlightControllerTest/FlightControllerTest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void setup() {
}

pinMode(A0, INPUT_PULLUP);
pinMode(13, OUTPUT);
pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
Expand All @@ -134,12 +134,12 @@ void loop() {
if (digitalRead(A0) != 0)
{
// Turn indicator light off.
digitalWrite(13, 0);
digitalWrite(LED_BUILTIN, 0);
return;
}

// Turn indicator light on.
digitalWrite(13, 1);
digitalWrite(LED_BUILTIN, 1);

if (millis() >= gNextTime)
{
Expand Down
6 changes: 3 additions & 3 deletions examples/JoystickTest/JoystickTest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void setup() {
}

pinMode(A0, INPUT_PULLUP);
pinMode(13, OUTPUT);
pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
Expand All @@ -198,12 +198,12 @@ void loop() {
if (digitalRead(A0) != 0)
{
// Turn indicator light off.
digitalWrite(13, 0);
digitalWrite(LED_BUILTIN, 0);
return;
}

// Turn indicator light on.
digitalWrite(13, 1);
digitalWrite(LED_BUILTIN, 1);

if (millis() >= gNextTime)
{
Expand Down
6 changes: 3 additions & 3 deletions examples/MultipleJoystickTest/MultipleJoystickTest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -116,20 +116,20 @@ void setup() {
}

pinMode(A0, INPUT_PULLUP);
pinMode(13, OUTPUT);
pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {

// System Disabled
if (digitalRead(A0) != 0)
{
digitalWrite(13, 0);
digitalWrite(LED_BUILTIN, 0);
return;
}

// Turn indicator light on.
digitalWrite(13, 1);
digitalWrite(LED_BUILTIN, 1);

if (millis() >= gNextTime)
{
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Joystick
version=2.0.6
version=2.0.7
author=Matthew Heironimus
maintainer=Matthew Heironimus <[email protected]>
sentence=Allows an Arduino board with USB capabilities (e.g. Leonardo, Arduino Micro, Arudino Due, etc.) to appear as a Joystick or Gamepad.
Expand Down

0 comments on commit 35096a4

Please sign in to comment.