-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Add more keys in USBHIDKeyboard #9190
Conversation
* Add more keys value that can be used with Keyboard.press()
👋 Hello andreock, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
@@ -63,6 +63,7 @@ typedef union { | |||
#define KEY_DOWN_ARROW 0xD9 | |||
#define KEY_LEFT_ARROW 0xD8 | |||
#define KEY_RIGHT_ARROW 0xD7 | |||
#define KEY_MENU 0xFE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andreock I am not sure about this one. Can you please post any docs where you get this from? Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got it from here: https://github.com/msommacal/duckuino/blob/master/parser.y#L47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have you tested them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I described it in PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@P-R-O-C-H-Y changes are OK with me
Description of Change
I added some keys code in USBHIDKeyboard header file so it can be used in Keyboard.press()
Tests scenarios
I have tested the following change with framework arduino-esp32 2.0.11 using an ESP32-S3. The PC that I used for test, has installed nixOS 23.11 with kernel 6.1.75. All the keys added in this PR works in my test.