locked
PC as HID Device RRS feed

  • Question

  • I can find lots of info and code samples on how to enumerate and access an external HID device. My problem is a little different, I want my .NET application to BE an HID device so it can send keystrokes to an external Linux that believes I am a USB keyboard. The Linux PC is a "black box" and I cannot modify it in any way.

    Does anyone know of any libraries or documentation that deal with doing HID from the device end rather than the client end?. C# is preferred, but I'll take anything, even Win32
    Thursday, December 18, 2008 12:30 AM

All replies

  • This is not duable just using software.

    The reason behind this lies in the very nature of USB. An USB Host (PC) cannot directly talk to an other USB Host device.

    You'd need a piece of hardware similar to a USB Data Link Cable (here is a sample) that allows you to connect two USB Host devices.
    I'm not aware of any existing products that would meet your needs.
    MVP Windows Embedded
    Thursday, December 18, 2008 4:33 PM
    Moderator
  • Thanks, at least I won't waste my time looking now. I'll try to find some hardware that helps me out.

    Tony
    Thursday, December 18, 2008 6:42 PM