OS: Mac Arduino: 1.8.13 Keyboard Library: 1.0.2
I have a generic ESP8266 board, and I have the following code
void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
Keyboard.begin();
}
void loop() {}
However I get the following ouput:
In file included from /Users/quba/Sandbox/sketch_feb07a/sketch_feb07a.ino:1:0:
/Applications/Arduino.app/Contents/Java/libraries/Keyboard/src/Keyboard.h:25:17: fatal error: HID.h: No such file or directory
#include "HID.h"
^
compilation terminated.
exit status 1
Error compiling for board Generic ESP8266 Module.
Could not find boards.txt in /Users/quba/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.7. Is it pre-1.5?