-
Notifications
You must be signed in to change notification settings - Fork 44
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
scan codes #6
Comments
Hey Octavio, thanks for the feedback, The sketches in the example folder implement the data decoding for a keyboard only (unfortunately I couldn't get a mouse to work). The |
@nogueira , it simple for standart HID keyboards with standart "keyboard report" (as my Logitech K120). Format is: 1 byte for key modifiers (Alt, Ctrl, Shift, Win) - 1 byte reserved (always 0x00) - 6 bytes for up to six keys pressed simultaneously. HID codes you can find here: "HID Usage Tables FOR Universal Serial Bus (USB) Version 1.21" (Keyboard/Keypad Page (0x07) ) Key modifiers are defined in the IEEE HID Spec as follows:
For example:
|
This lib is perfect, I just don´t know how to decode the data received to scan code.
Can you help me?
The text was updated successfully, but these errors were encountered: