Skip to content

Commit a4898ce

Browse files
committed
Merge commit 'refs/pull/121/head' of https://github.com/MHeironimus/ArduinoJoystickLibrary into community-updates
Including DynamicHID.h in Joystick.h using <> prevents it from being found if the library is not in the Arduino/libraries directory. This means that it cannot be included as part of a project and significantly increases the difficulty of using it as a git submodule where the library cannot easily be patched. Using "" should not break anything if it is installed to Arduino/libraries. This PR simply changes the include to "".
2 parents c206c57 + 17abbcb commit a4898ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Joystick/src/Joystick.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#ifndef JOYSTICK_h
2222
#define JOYSTICK_h
2323

24-
#include <DynamicHID/DynamicHID.h>
24+
#include "DynamicHID/DynamicHID.h"
2525

2626
#if ARDUINO < 10606
2727
#error The Joystick library requires Arduino IDE 1.6.6 or greater. Please update your IDE.

0 commit comments

Comments
 (0)