This will read a USB Human Interface Device (HID) report descriptor from the specified input file then attempt to decode it and, optionally, create a C language header file from it. It also does some minimal sanity checks to verify that the report descriptor is valid. The input file can be a binary file or a text file (for example, an existing C header file). If it is a text file, it will concatenate all the printable-hex-like text that it finds on each line (until the first non-hex sequence is found) into a single string of hex digits, and then attempt to decode that string. You can feed it an existing C header file and it will decode it as long as you have all the hex strings (e.g. 0x0F, 0x0Fb2) at the beginning of each line. Commas (,) and semicolons (;) are ignored. Oh, and it's just a Rexx script - not an executable.

Features

  • Decodes all the USB HID descriptors currently published by usb.org
  • Converts HID Report Descriptor into C language structure declarations
  • Highlights common errors such as redundant descriptor tags, field size errors etc
  • Accepts binary or textual input (for example existing C structure definitions)
  • Decodes vendor-specific descriptors (if you supply a simple definition file)

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow RDD! USB HID Report Descriptor Decoder

RDD! USB HID Report Descriptor Decoder Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
0
0
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • It's not an executable but a rexx script. Would be helpful if that was mentioned somewhere.
Read more reviews >

Additional Project Details

Operating Systems

BSD, Linux, Windows

Languages

English

Intended Audience

Developers

User Interface

Command-line

Programming Language

Rexx

Related Categories

Rexx Data Formats Software, Rexx Code Generators

Registered

2013-10-07