mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-23 07:31:31 +00:00
Include item position in report descriptor dump in usbhidctl(1).
Submitted by: Kevin Zheng <kevinz5000@gmail.com> PR: 239918 MFC after: 1 week
This commit is contained in:
parent
ec18da7c04
commit
5c1d971003
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351167
@ -202,8 +202,8 @@ dumpitem(const char *label, struct hid_item *h)
|
||||
{
|
||||
if ((h->flags & HIO_CONST) && !verbose)
|
||||
return;
|
||||
printf("%s rid=%d size=%d count=%d page=%s usage=%s%s%s", label,
|
||||
h->report_ID, h->report_size, h->report_count,
|
||||
printf("%s rid=%d pos=%d size=%d count=%d page=%s usage=%s%s%s", label,
|
||||
h->report_ID, h->pos, h->report_size, h->report_count,
|
||||
hid_usage_page(HID_PAGE(h->usage)),
|
||||
hid_usage_in_page(h->usage),
|
||||
h->flags & HIO_CONST ? " Const" : "",
|
||||
|
Loading…
Reference in New Issue
Block a user