-
Notifications
You must be signed in to change notification settings - Fork 7.8k
usb: hid: Define sensor page usages IDs #91480
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
usb: hid: Define sensor page usages IDs #91480
Conversation
Hello @zessadaoui, and thank you very much for your first pull request to the Zephyr project! |
7c3c64e
to
4ca4c3d
Compare
(misclicked, sorry, only meant to trigger your CI) |
bdde0f7
to
f941a59
Compare
fe065d6
to
5796d0b
Compare
5796d0b
to
5a2cf15
Compare
5a2cf15
to
e20c765
Compare
This commit adds the following: * Sensor related usage IDs in the Sensors' page of the HID standard. * A HID usage macro that works with IDs of 2 bytes. * A macro to define the exponent in a report descriptor. The values and naming came from the following document: https://www.usb.org/sites/default/files/hutrr39b_0.pdf Signed-off-by: Zak Essadaoui <[email protected]>
e20c765
to
9369666
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Hi @zessadaoui! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |
This commit adds the following:
* A subset of usage IDs defined in the Sensors' page of the HID standard.
* A HID usage macro that works with IDs of 2 bytes.
* A macro to define the exponent in a report descriptor.
The values and naming came from the following document: https://www.usb.org/sites/default/files/hutrr39b_0.pdf
Signed-off-by: Zak Essadaoui [email protected]