-
Notifications
You must be signed in to change notification settings - Fork 768
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
[espressif/keyboard_button] How to trigger KBD_EVENT_COMBINATION? #367
Comments
This driver is specifically designed for a matrix keyboard circuit. In the example, {5,1} and {1,1} represent pressing the key at index {5,1} followed by the key at index {1,1}. {5,1} represents the key at the sixth row and second column, starting from 0.
Based on the configured matrix keys, the actual IO port for the first key is {47,14}, and the actual IO port for the second key is {39,14}.Based on the configured matrix keys, the actual IO port for the first key is {47,14}, and the actual IO port for the second key is {39,14}. |
Do you have any further questions regarding this issue? If not, we will proceed to close it. Thank you very much for your inquiry. |
Thank you, but I have more questions. |
The use of combination keys can be tailored to your specific application needs. You can also refer to the keyboard program, which demonstrates hotkey detection without using combination keys. However, you can report hotkeys using combination keys if desired, though it may be less flexible. For reference, please see the keyboard program at: |
Aha, It can be used for hot key. So really thank you. |
Answers checklist.
General issue report
I am making HID keyboard and I use that library
https://components.espressif.com/components/espressif/keyboard_button/versions/0.1.1?language=en
https://docs.espressif.com/projects/esp-iot-solution/en/latest/input_device/keyboard_button.html
And this is the example of KBD_EVENT_COMBINATION
I registered callback function with that cb_cfg.
But, I don't know how to trggier KBD_EVENT_COMBINATION.
Please can you tell me how to trggier combination key event with gpios?
The text was updated successfully, but these errors were encountered: