C# HID Library using Windows Raw Input. Most useful to handle inputs from IR remotes, gamepads, joysticks or any Human Interface Devices.
You can get a pretty good understanding of what this library can do be running our HID Demo.
The easiest way to make use of this library in your own project is to add a reference to the following NuGet package.
To get started with this library take a look at HID Demo code. Basically there are just three things you need to do to get it working:
- Instantiate a
SharpLib.Hid.Handlerspecifying which kind of raw input you want to listen to.
- Register with your HID handler
- Feed your HID handler the Windows Raw Input from
Taking a look at older and simpler version of the HID Demo code can give you a better idea of what a minimal implementaiton looks like.