Skip to content
Commit 41a83bd3 authored by Zak Essadaoui's avatar Zak Essadaoui Committed by Benjamin Cabé
Browse files

usb: hid: Define sensor page usages IDs

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: default avatarZak Essadaoui <zak0@meta.com>
parent 49a96f67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment