.\" Automatically generated by Pandoc 3.1.8 .\" .TH "HID-DECODE" "1" "" "" "" .SS NAME hid-decode - HID input device report descriptor decoder .SS SYNOPSIS \f[B]hid-decode\f[R] \f[I]report-descriptor.bin\f[R] .PP \f[B]hid-decode\f[R] \f[I]/dev/hidraw0\f[R] .PP \f[B]hid-decode\f[R] \f[I]/dev/input/event0\f[R] .PP \f[B]hid-decode\f[R] \f[I]hid-recording\f[R] .SS DESCRIPTION \f[B]hid-decode\f[R] decodes one or more HID report descriptors into into human-readable format. It supports a variety of inputs: .IP \[bu] 2 a binary format as exported in sysfs, e.g. \f[I]/sys/class/input/event0/device/device/report_descriptor\f[R] .IP \[bu] 2 the format exported by \f[B]hid-recorder(1)\f[R] .IP \[bu] 2 a \f[I]/dev/hidraw\f[R] node .IP \[bu] 2 a \f[I]/dev/input/event\f[R] node .PP The format is deduced based on the input arguments. Undetected formats are assumed to be binary files. .PP Accessing a \f[I]/dev/hidraw/\f[R] node usually requires root permissions. .SS EXIT CODE \f[B]hid-decode\f[R] returns 1 on error. .SS SEE ALSO hid-recorder(1) .SS COPYRIGHT Copyright 2018, Red Hat, Inc. .SS AUTHOR Peter Hutterer