Project Description

Simple and small managed HID library for .NET 4 x86/x64. Can communicate with any HID USB device. Uses P/Invoke internally, no mixed mode assemblies or unmanged code.

Project Goals

This project aims to make it simple to communicate with a HID USB device. This library will use the HidD/HidP API. All "report parsing" is done, you will not handle raw report data. This library uses Usage Page/Usage as input/output. The project is created so that I can learn this API.

Current Status

Project just started. Still a lot of work to do...

Project Status Page

Test Application

TestApplicationNew.PNG

Sample Code

Go to Documentation.

Other Projects

A list of great projects/articles that has inspired me.

Project Description Site
A USB HID Component for C# This article is about a USB HID component which enables you to communicate with HID devices over USB http://www.codeproject.com/Articles/18099/A-USB-HID-Component-for-C
Working with USB devices in .NET and C# USB devices are now ubiquitous across the hardware space, but there are still no native support within the .NET library in order to interact with them. In this article, we look at creating the .NET software to run on a PC connected to a USB device. http://www.developerfusion.com/article/84338/making-usb-c-friendly/
Managed Library for Nintendo's Wiimote A library for using a Nintendo Wii Remote (Wiimote) from .NET. http://wiimotelib.codeplex.com/
HID USB Driver / Library for .Net / C# Maxim MAX3420E library http://www.florian-leitner.de/index.php/2007/08/03/hid-usb-driver-library/
Read and use FM radio (or any other USB HID device) from C# So, today we’ll spoke about detection and reading information from Radio USB adapters (actually from any Human Input Devices). Let’s start. http://khason.net/blog/read-and-use-fm-radio-or-any-other-usb-hid-device-from-c
HIDLib An open-source (CDCBL) managed .NET library for USB HID device communication. http://www.blueninjasoftware.com/libraries-and-controls/hidlib.html
HIDSharp HIDSharp is a simple C# wrapper for HID and USB postal scales, COM enabled to additionally allow use by VB6 and MS Access programs. http://www.zer7.com/software.php?page=hidsharp
csharp-usb-hid-driver This Library connects your Human Interface USB Device to your CSharp (or other Visual Studio) project / application. http://code.google.com/p/csharp-usb-hid-driver/
Hid Library This library enables you to enumerate and communicate with Hid compatible USB devices in .NET. https://github.com/mikeobrien/HidLibrary



Resources

Description Site
HID Information http://www.usb.org/developers/hidpage/
USnooBie's USB HID Report Descriptor Tutorial http://www.frank-zhao.com/cache/hid_tutorial_1.php


Future Development

Can this library be used in a Silverlight 5 Out-of-Browser project?

Last edited Aug 6, 2012 at 5:34 PM by mrtn, version 57