* Unit Exponent value storage
@ 2013-10-09 7:53 Nikolai Kondrashov
0 siblings, 0 replies; only message in thread
From: Nikolai Kondrashov @ 2013-10-09 7:53 UTC (permalink / raw)
To: hidcomments; +Cc: linux-input
Hello,
Could you please clarify how the "Unit Exponent" global item value should be
encoded in report descriptors, according to Device Class Definition for HID
1.11?
In my understanding it is encoded similarly to the rest of the signed integer
items, i.e. two's complement 1, 2, or 4 byte integer.
However, the "HID Descriptor Tool" available on the HID page [1] encodes it as
a two's complement nibble, limited to [-8, 7] range accordingly.
Which encoding is meant by the specification?
I'm CC'ing this message to the "linux-input" maillist where I'm trying to
raise discussion about how "Unit Exponent" value should be interpreted for the
purposes of resolution calculation for HID devices in the Linux kernel.
Could you please keep this CC in your answer, so others get posted?
Thank you very much.
Sincerely,
Nikolai Kondrashov
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-09 7:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-09 7:53 Unit Exponent value storage Nikolai Kondrashov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).