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

Support for sending consumer control codes #15

Open
DJFliX opened this issue Jun 25, 2022 · 0 comments
Open

Support for sending consumer control codes #15

DJFliX opened this issue Jun 25, 2022 · 0 comments

Comments

@DJFliX
Copy link

DJFliX commented Jun 25, 2022

@arturo182 Thanks for this amazing project! Ever since I received my BBQ20KBD I've been fascinated by the project and the firmware. I've been tinkering with it and I think that I do now have some understanding of the overall structure of the code in this project.

The goal I'm trying to accomplish is the following: I'd like to bind KEY_BTN_LEFT2 to sending a keycode that triggers HOME on Android (so: navigating to the launcher). I'd like to try using some keycodes on the 0x0C page (Consumer Control) to achieve that.

Looking at the tinyusb library I can see that buttons in the 0x0C page (Consumer Control) can't be sent using tud_hid_n_keyboard_report. Instead the more generic tud_hid_report has to be used. Any attempts I have made so far have resulted in various compilation errors.

Is adding 0x0C page support something that's on your roadmap as well? Otherwise I'll continue my attempts at bruteforcing this at a later point in time :).

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

1 participant