ports/sysutils/hid-tools/files/patch-man_hid-decode.md
Vladimir Kondratyev 75a813c715 new port: sysutils/hid-tools
sysutils/hid-tools: Python scripts to manipulate HID data

PR:		253498
Approved by:	lwhsu (ports)
2021-02-14 23:07:31 +00:00

748 B

Remove unsupported sysfs-dependent parts from manpage.

--- man/hid-decode.md.orig 2019-03-29 01:29:29 UTC +++ man/hid-decode.md @@ -11,8 +11,6 @@ SYNOPSIS

hid-decode /dev/hidraw0

-hid-decode /dev/input/event0

hid-decode hid-recording

DESCRIPTION @@ -20,11 +18,8 @@ DESCRIPTION hid-decode decodes one or more HID report descriptors into into human-readable format. It supports a variety of inputs:

-- a binary format as exported in sysfs, e.g.

  • /sys/class/input/event0/device/device/report_descriptor
  • the format exported by hid-recorder(1)
  • a /dev/hidraw node -- a /dev/input/event node

The format is deduced based on the input arguments. Undetected formats are assumed to be binary files.