NicoHood / HID

Bring enhanced HID functions to your Arduino!
http://www.nicohood.de
MIT License
2.38k stars 408 forks source link

KEY_H =11 ERROR #398

Open Baumart opened 1 year ago

Baumart commented 1 year ago

Even if it has been asked many times, I can't get it right, this error always comes up: In file included from c:\users\DUDU\documents\arduino\libraries\hid-project\src\hid-apis\KeyboardAPI.h:29:0, from c:\users\DUDU\documents\arduino\libraries\hid-project\src\hid-apis\defaultkeyboardapi.h:27, from C:\Users\DUDU\Documents\Arduino\libraries\HID-Project\src/SingleReport/BootKeyboard.h:30, from C:\Users\DUDU\Documents\Arduino\libraries\HID-Project\src/HID-Project.h:50, from C:\Users\DUDU\Documents\Arduino\MacroKeyPad\MacroKeyPad.ino:4: c:\users\DUDUl\documents\arduino\libraries\hid-project\src\keyboardlayouts\improvedkeylayouts.h:54:21: note: #pragma message: Using default ASCII layout for keyboard modules

pragma message "Using default ASCII layout for keyboard modules"

                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

c:\users\DUDU\documents\arduino\libraries\hid-project\src\keyboardlayouts\improvedkeylayouts.h:73:25: error: expected identifier before '=' token KEY_H = 11, ^ c:\users\DUDU\documents\arduino\libraries\hid-project\src\keyboardlayouts\improvedkeylayouts.h:73:25: error: expected '}' before '=' token c:\users\DUDU\documents\arduino\libraries\hid-project\src\keyboardlayouts\improvedkeylayouts.h:73:25: error: expected unqualified-id before '=' token c:\users\DUDU\documents\arduino\libraries\hid-project\src\keyboardlayouts\improvedkeylayouts.h:521:1: error: expected declaration before '}' token }; ^

exit status 1

I also changed the version but it didn't work.

NicoHood commented 1 year ago

See https://github.com/NicoHood/HID/issues/390

arcDaniel84 commented 1 year ago

I get the same messages while compiling, with PlatformIO and Arduino IDE2. But it can be uploaded and it works. Very strange.