Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

USB Devices in C#

Name: Anonymous 2012-12-24 16:04

I'm developing custom software for a USB Digital Microscope, adding functionality.
The microscope works as a webcam and is recognised as such.
What I need to do is to catch the button press event of the microscope.

What should I look for? I just want to know when the button is pressed.

Name: Anonymous 2012-12-24 16:10

Name: Anonymous 2012-12-24 16:18

I did google it, and most of what I've found is for USB HID devices, which is not my case.

The only thing that semi-worked is the usbsharplib.
The thing is that when I try to read data from the buffer, I get a BSOD; the device is detected properly.


I'm on Windows 8, not sure if that's the problem.

Name: Anonymous 2012-12-24 21:39

>>3
Windows 8
It is a problem.

Name: Anonymous 2012-12-24 22:43

The details of what to do are going to vary by device.  If the manufacturer doesn't provide specs for what comes out of the device you have a hell of a job ahead of you.  Take a look at the WDK for a general idea of what to expect.

Don't change these.
Name: Email:
Entire Thread Thread List