-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add logical minimum and maximum to HID descriptor for analog axes.
Reporting a logical minimum (0) and maximum (2**12 - 1 = 4095) that matches the range of the 12-bit A2D allows the host to scale the analog inputs automatically, allowing use of the analog axes without calibration. This change required adding the LogicalMaximum16b macro, which encodes a 2-byte logical maximum for use in the descriptor. (The existing LogicalMaximum macro encodes a 1-byte value.)
- Loading branch information
Showing
3 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters