C# HID Library using Windows Raw Input.
Switch branches/tags
Nothing to show
Clone or download
Slion Demo Release v1.4.6
Testing CI Squirrel Release.
Latest commit 1b4ec17 Sep 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Project Demo Release v1.4.6 Sep 13, 2018
Publish Switching from ClickOnce to Squirrel. Sep 13, 2018
.editorconfig HID Demo now with logs tab. Jan 12, 2016
.gitattributes Moved solution to project folder. Sep 10, 2018
.gitignore Moved solution to project folder. Sep 10, 2018
README.md Moved solution to project folder. Sep 10, 2018
gpl-3.0.txt HID Demo now with logs tab. Jan 12, 2016

README.md

NuGet Badge

SharpLibHid

C# HID Library using Windows Raw Input. Most useful to handle inputs from IR remotes, gamepads, joysticks or any Human Interface Devices.

HID Demo

You can get a pretty good understanding of what this library can do be running our HID Demo.

Binary Distribution

The easiest way to make use of this library in your own project is to add a reference to the following NuGet package.

Usage

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:

  1. Instantiate a SharpLib.Hid.Handler specifying which kind of raw input you want to listen to.
  2. Register with your HID handler OnHidEvent event.
  3. Feed your HID handler the Windows Raw Input from WM_INPUT messages.

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.