To analyse what the problem might be i did the following:
I created a new subdirectory in folder libraries named
"KeyboardJoWa" JoWa for honoring John Wassers work to create this library
Then I copied the complete content of file Keyboard_GR.h into the clipboard
pasted the content into a new file created by notepadd++ and saved the file with name Keyboard_GER.h into the libraries subfolder KeyboardJoWa
Then I copied the content of file KeyboardUTF8.h into the clipboard
pasted the content into a new file created by notepadd++ and save the file with name KeyboardJoWa.h into the libraries subfolder KeyboardJoWa
Then I renamed everything inside the file from KeyboardUTF8 to
KeyboardJoWa
Then I copied the content of file KeyboardUTF8.cpp into the clipboard
pasted the content into a new file created by notepadd++ and saved the file with name KeyboardJoWa.cpp into the libraries subfolder KeyboardJoWa
Then I renamed everything inside the file from KeyboardUTF8 to
KeyboardJoWa
finally I modified John Wassers demo-code from
#include <KeyboardUTF8.h>
#include <src/Keyboard_GR.h>
// Keyboard_GR Keyboard_german;
void setup()
{
Keyboard_GR.println("This is a test.");
}
void loop() {}
to
#include <KeyboardJoWa.h>
#include <Keyboard_GER.h>
// Keyboard_GR Keyboard_german;
void setup()
{
Keyboard_GER.println("This is a test.");
}
void loop() {}
So in summary I created by hand:
- the subfolder
- all the files and stored the files using notepad++
and this did compile successfully.
Just a thought:
Could the problem be with installing a ZIP-library with the Arduino-IDE?
Could it be that the problem is caused by the Anti-Virussoftware Kaspersky Total Security not allowing the compiler to have access to files installed through the function Add Zip-library?
best regards Stefan