Developing a HID Driver for QNX
A Human Interface Device (HID) is a type of computer device used for
human interaction, like keyboards, mice, and game controllers. It's a
device class that allows computers to receive input from humans and
transmit output to them. HIDs are often connected via USB and use a
standard protocol (USB HID) that simplifies installation and driver
development. Additionally, it's important to note that HID consists of
two fundamental concepts, a report descriptor, and reports. Reports are
the actual data that is exchanged between a device and a software
client. The report descriptor describes the format and meaning the data
that the device supports. This section provides a step-by-step guide to
writing a HID driver with the help of
the hid-input-demo
sample driver. This sample driver can be used to interact with USB
HID-compliant gamepads and joysticks on a system running QNX.