2

I am a .NET developer, and I want to turn my USB HID device (Mouse, Dance Pad, Guitar or Drums, specially Drums) into a keyboard (with few keys, I know). Do I need to develop this from scratch? Is there any tool that does that? Is there any library that would help me?

Adam Robinson
186k36 gold badges294 silver badges351 bronze badges
asked Jul 26, 2009 at 23:11

1 Answer 1

1

Back in 2007 I had to roll an in house component to get the desired functionality in absence of any tools or libraries. This is no black art, still getting a decent .NET integration/experience required some work, plus I mostly facilitated C++/CLI for this component due to the Win32 API interop requirements stemming from going the USB via DirectInput route.

You might be better of today by using one of the following components:

I haven't evaluated these yet, but at first sight the one shot article accompanying the latter is not really helpful (with mixed user feedback), while the former appears to be a decent and maintained effort software/project wise and features sample code for different devices. Both might be able to get you going though.

answered Jul 28, 2009 at 20:04
Sign up to request clarification or add additional context in comments.

2 Comments

Your 'USB Hid Device Library (blog w/ sample)' link is broken. Could you update it? Thanks!
@astay13: I've removed the outdated link, Mike has apparently replaced his former custom Labs blog page with his GitHub presence (like many do nowadays) - thanks for the hint.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.