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

Add HID Lighting and Illumination functionality #2252

Merged
merged 2 commits into from May 8, 2024

Conversation

rsolorzanomsft
Copy link
Contributor

@rsolorzanomsft rsolorzanomsft commented Sep 12, 2023

Describe the PR
This PR adds Lighting and Illumination usage page and descriptor template for HID class.

Additional context
The descriptor in hid_device.h was taken from the lighting and illumination page, and all definitions in hid.h are taken from there as well. Adding this functionality allows TinyUSB devices that have lighting capabilities to be controlled by the host machine. In Windows, this can be developers with the LampArray API, or through Dynamic Lighting, a feature available to Windows Insiders.

Functionality was tested on an Adafruit Macropad.

@HiFiPhile
Copy link
Collaborator

Sorry for the delay, looks good.

@HiFiPhile HiFiPhile merged commit 70ae07b into hathach:master May 8, 2024
41 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants