-
Notifications
You must be signed in to change notification settings - Fork 162
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
when I use Keyboard.h, could I press keycode instead of keyASCII? #26
Comments
0x80 Keyboard Volume Up |
@ljq29 you can use hex codes for this |
So, from where I can find the table of keycode 2 hex? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
On the keyboards I tried, these keys use a different endpoint and a different protocol than all the “regular” keys. They can thus not be sent by the Keyboard library. Not without heavy modifications. |
What about functional keyboard? Some keyboard do have VOLUME_UP and VOLUME_DOWN key, such as logitech K380. |
@ljq29: Yes, that is what I am talking about. I have a couple of keyboards that, in addition to all the regular keys, have these |
So, is this libraries will not support VOLUME_DOWN and VOLUME_UP keys? |
@ljq29: Indeed. This library does not support the VOLUME_DOWN and VOLUME_UP keys. |
Closing this as a duplicate of issue #17. |
It is generally accepted that when the header file Keyboard.h is used, some control keys can be sent through the Keyboard.press (key) function. But for keys without ASCII values, such as KEYCODE_VOLUME_UP and KEYCODE_VOLUME_DOWN, how should they be sent to the host through arduino?
The text was updated successfully, but these errors were encountered: