svn commit: r351845 - stable/11/usr.bin/usbhidctl
Hans Petter Selasky
hselasky at FreeBSD.org
Thu Sep 5 09:35:41 UTC 2019
Author: hselasky
Date: Thu Sep 5 09:35:41 2019
New Revision: 351845
URL: https://svnweb.freebsd.org/changeset/base/351845
Log:
MFC r351167:
Include item position in report descriptor dump in usbhidctl(1).
Submitted by: Kevin Zheng <kevinz5000 at gmail.com>
PR: 239918
Modified:
stable/11/usr.bin/usbhidctl/usbhid.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/usr.bin/usbhidctl/usbhid.c
==============================================================================
--- stable/11/usr.bin/usbhidctl/usbhid.c Thu Sep 5 09:35:06 2019 (r351844)
+++ stable/11/usr.bin/usbhidctl/usbhid.c Thu Sep 5 09:35:41 2019 (r351845)
@@ -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" : "",
More information about the svn-src-stable
mailing list