PDA

View Full Version : C# rawhid USB



awesomeToTheMax
01-25-2014, 03:54 AM
I had some issues when trying to connect my teensy 2.0 via rawhid to a c# assembly. If anyone else wanted to accomplish the same task, my included source may be of some assistance...

Here is the command to compile the rawhid.dll.:
$ gcc -shared -o rawhid.dll -DBUILD_DLL hid_WINDOWS.c -lsetupapi -lhid