Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino IDE 2.0.4 - what does this mean #400

Open
aadrians1 opened this issue Jan 17, 2023 · 3 comments
Open

Arduino IDE 2.0.4 - what does this mean #400

aadrians1 opened this issue Jan 17, 2023 · 3 comments

Comments

@aadrians1
Copy link

In file included from c:\users\admin1\documents\arduino\libraries\hid-2.8.4\src\hid-apis\KeyboardAPI.h:29:0,
from c:\users\admin1\documents\arduino\libraries\hid-2.8.4\src\hid-apis\defaultkeyboardapi.h:27,
from C:\Users\admin1\Documents\Arduino\libraries\HID-2.8.4\src/SingleReport/BootKeyboard.h:30,
from C:\Users\admin1\Documents\Arduino\libraries\HID-2.8.4\src/HID-Project.h:50,
from C:\Users\admin1\AppData\Local\Temp.arduinoIDE-unsaved2023017-8044-34nlyz.x4lmg\sketch_jan17a\sketch_jan17a.ino:2:
c:\users\admin1\documents\arduino\libraries\hid-2.8.4\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"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\admin1\AppData\Local\Temp.arduinoIDE-unsaved2023017-8044-34nlyz.x4lmg\sketch_jan17a\sketch_jan17a.ino:1:0:
C:\Users\admin1\AppData\Local\Arduino15\libraries\Keyboard\src/Keyboard.h:54:27: error: expected identifier before numeric constant
#define KEY_RETURN 0xB0
^
c:\users\admin1\documents\arduino\libraries\hid-2.8.4\src\keyboardlayouts\improvedkeylayouts.h:103:5: note: in expansion of macro 'KEY_RETURN'
KEY_RETURN = 40, // Alias
^~~~~~~~~~
C:\Users\admin1\AppData\Local\Arduino15\libraries\Keyboard\src/Keyboard.h:54:27: error: expected '}' before numeric constant
#define KEY_RETURN 0xB0
^
c:\users\admin1\documents\arduino\libraries\hid-2.8.4\src\keyboardlayouts\improvedkeylayouts.h:103:5: note: in expansion of macro 'KEY_RETURN'
KEY_RETURN = 40, // Alias
^~~~~~~~~~
C:\Users\admin1\AppData\Local\Arduino15\libraries\Keyboard\src/Keyboard.h:54:27: error: expected unqualified-id before numeric constant
#define KEY_RETURN 0xB0
^
c:\users\admin1\documents\arduino\libraries\hid-2.8.4\src\keyboardlayouts\improvedkeylayouts.h:103:5: note: in expansion of macro 'KEY_RETURN'
KEY_RETURN = 40, // Alias
^~~~~~~~~~
In file included from c:\users\admin1\documents\arduino\libraries\hid-2.8.4\src\hid-apis\KeyboardAPI.h:29:0,
from c:\users\admin1\documents\arduino\libraries\hid-2.8.4\src\hid-apis\defaultkeyboardapi.h:27,
from C:\Users\admin1\Documents\Arduino\libraries\HID-2.8.4\src/SingleReport/BootKeyboard.h:30,
from C:\Users\admin1\Documents\Arduino\libraries\HID-2.8.4\src/HID-Project.h:50,
from C:\Users\admin1\AppData\Local\Temp.arduinoIDE-unsaved2023017-8044-34nlyz.x4lmg\sketch_jan17a\sketch_jan17a.ino:2:
c:\users\admin1\documents\arduino\libraries\hid-2.8.4\src\keyboardlayouts\improvedkeylayouts.h:521:1: error: expected declaration before '}' token
};

@nexposito
Copy link

I got the same error, could you figure it out what is the problem?

@NicoHood
Copy link
Owner

See #390

@Eliaszszsz
Copy link

FOUND THE FIX!!!!!
its soooo easy. all you have to do is use the HID-project library at the 2.8.4 version. Hope i helped1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants