Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there, this is my first time asking a question on The Code Project, so please bare with me.

I've written an application that reads input from a USB HID device. It's a programmable keyboard with 35 keys, a Controlpad 682 for those that are interested. This device sends normal keycodes. Nothing special there. I'm able to receive input using the Raw Input project (http://www.codeproject.com/KB/system/rawinput.aspx[^]. So far so good.

The problem, however, is that when another application has focus, it too receives the keycodes sent by the Controlpad. I'm trying to find a way to prevent this from happening, however my google skills are letting me down...

So I'm hoping that someone here might know how to do this. I can't be the first to ever have tried this. Please, help me!
Posted

1 solution

Maybe these examples/articles can help you further with this:
http://www.codeproject.com/KB/system/DevMgr.aspx[^]

http://www.codeproject.com/KB/cs/HardwareHelper.aspx[^]

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900