MHeironimus / ArduinoJoystickLibrary

An Arduino library that adds one or more joysticks to the list of HID devices an Arduino Leonardo or Arduino Micro can support.
GNU Lesser General Public License v3.0
2.06k stars 403 forks source link

Error thrown when trying to add .ZIP library #217

Closed dadleybs closed 2 years ago

dadleybs commented 2 years ago

Hey there, getting the following error when attempting to upload the .ZIP library to Arduino IDE 2.0.0-beta.11. Any ideas?

Error: Request installZip failed with message: 2 UNKNOWN: library is not valid: missing header file "ArduinoJoystickLibrary-version-2.0.h"

Thanks!

ERJP commented 2 years ago

I am having the same issue as above, has anyone found a solution to this by chance?

dadleybs commented 2 years ago

SOLUTION: It appears the code doesn't agree with the beta 2.0.0 version of the Arduino IDE. When using Arduino IDE 1.8.16, everything worked as expected. Hope this helps!