How can I isolate a keyboard into a process?

Patrick Marcel Hertling April 11, 2012
Pinterest Stumbleupon Whatsapp

I want to make a program, in java, C++ or whatever.
I have 2 keyboards, A and B.
I use my keyboard A for everything. But I want my program to only work with keyboard B.

For example:
My program is minimized. I’m writing with keyboard A in the notepad. If I press a key with keyboard B, nothing should appear at the notepad. But it should be registered by my minimized program.

Any idea of what I can use? Thank you :).
(The OS assigns an ID for every device, maybe something to do with that?)

Ads by Google