Human Interface Devices Communicator For C++ Builder On Windows
Communicating with Human Interface Devices Communicator such as Alphanumeric display, Bar Code Reader, Sensors, Volume control on Speakers/Headsets becomes a primary use case for real-world applications. Do you spend more time in building libraries to communicate with HID for your Delphi/C++ and Lazarus Applications? WINSOFT Provides a powerful library to get the job done. It uses the standard Windows HID API.
Features:
- Able to notify on Human Interface Devices Communicator arrival and removal.
- Can retrieve all the HID devices information available in the System.
- Flexible to getting/set Feature Report for the HID devices.
- Works with Windows 32/64-bit applications.
Versions Supported: from C++ Builder 5 to 10.4 Sydney and Lazarus 2.0.8.
Platforms: Windows;
Steps to Download and use the Native HID Library:
- Download Native HID and Unzip the file.
- Navigate to the Library folder for different Versions. e.g) Delphi10.4.
- Read the Readme.txt file to know about features and copyright information.
- Create a Windows VCL Application and use Hid.pas in the uses section.
- Include the Library folder into Project->Options->Delphi Compiler->Search Path.
- Compile and check for using the library.
Key HID concepts:
Report -Reports are the actual data that is exchanged between a device and a software client.
- Input Report – Data sent from the HID device to the application, typically when the state of a control changes.
- Output Report – Data sent from the application to the HID device, for example to the LEDs on a keyboard.
- Feature Report -Data that can be manually read and/or written, and are typically related to configuration information.
Report Descriptor – The Report Descriptor describes the format and meaning of the data that the device supports.
UsageTables – Contain a list with descriptions of Usages, which describe the intended meaning and use of a particular item described in the Report Descriptor. For example, a Usage is defined for the left button of a mouse. USB-IF WorkGroup Publishes the Usage Tables. See USB-IF HID Specifications.