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

Not an "issue", just hoping you can help... #1

Open
Shadowtrance opened this issue Dec 11, 2024 · 1 comment
Open

Not an "issue", just hoping you can help... #1

Shadowtrance opened this issue Dec 11, 2024 · 1 comment

Comments

@Shadowtrance
Copy link

Total noob when it comes to esp-idf tbh BUT i have managed to get this to run on my own all in one esp32s3 screen (different one to yours) so that's a good start.
However, i was hoping to add actual media keys (consumer control... play/pause, next, previous etc) but I'm having a hell of a time figuring it out.
So i thought, maybe the person who created it can lend a hand. Do you have any idea on how to go about it?
Thanks. :)

@espzav
Copy link
Owner

espzav commented Dec 12, 2024

I think, you can use something like this:

{"PLAY",  LV_SYMBOL_PLAY,  {HID_USAGE_CONSUMER_PLAY_PAUSE}}, 

More keys are here: https://github.com/hathach/tinyusb/blob/7c7b30f0ae66a856ada3526cb947bd3a255567f8/src/class/hid/hid.h#L873

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

2 participants