ArduinoJoystickLibrary icon indicating copy to clipboard operation
ArduinoJoystickLibrary copied to clipboard

Will this work on a ESP8266 Nodemcu Board?

Open simtcrom opened this issue 2 years ago • 1 comments

Please indicate which board you would like to see supported. ESP8266 Nodemcu

I tried loading the library and trying to flash JoystickTest get below error,

In file included from C:\Users\sim_t\Documents\Arduino\libraries\ArduinoJoystickLibrary-version-2.0\src/Joystick.h:24:0, from C:\Users\sim_t\Documents\Arduino\libraries\ArduinoJoystickLibrary-version-2.0\examples\JoystickTest\JoystickTest.ino:13: C:\Users\sim_t\Documents\Arduino\libraries\ArduinoJoystickLibrary-version-2.0\src/DynamicHID/DynamicHID.h:37:28: fatal error: PluggableUSB.h: No such file or directory #include "PluggableUSB.h" ^ compilation terminated. exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).

simtcrom avatar Nov 01 '21 05:11 simtcrom

ESP8266 has no hardware USB, so it's not possible to port the library.

positron96 avatar Nov 18 '21 08:11 positron96

See the following wiki page for the list of supported boards: https://github.com/MHeironimus/ArduinoJoystickLibrary/wiki/Supported-Boards

MHeironimus avatar Oct 04 '22 21:10 MHeironimus