Getting two keyboards to work with seperate programs?

G

Guest

Hi all, WinXP recognizes my two keyboards(one usb wireless, one ps/2) and sends all input to the same program. What can I do to get my apps to recognize the seperate keyboards. I imagine the answer would be a keyboard hook that "remembered" two different active programs and routed the keyboard input in the right way. Also, could the mouse input be handled in the same way?

thanks,
 
D

D.Currie

Johnson said:
Hi all, WinXP recognizes my two keyboards(one usb wireless, one ps/2) and
sends all input to the same program. What can I do to get my apps to
recognize the seperate keyboards. I imagine the answer would be a keyboard
hook that "remembered" two different active programs and routed the keyboard
input in the right way. Also, could the mouse input be handled in the same
way?

The problem is that only one program is really active at any one time, so
any input is going to go to that program.
 
D

David Curtis

D.Currie said:
The problem is that only one program is really active at any one
time, so any input is going to go to that program.

Can I tell which keyboard the input is coming from when I run a keyboard
hook? If i can, then I can send one input to the active window and the other
to the next window down the list. No?

Any thoughts welcome
 
D

D.Currie

David Curtis said:
Can I tell which keyboard the input is coming from when I run a keyboard
hook? If i can, then I can send one input to the active window and the other
to the next window down the list. No?

Any thoughts welcome

Any input -- whether it's mouse, voice control, keystroke, is going to feed
to the active application; you're not going to get a second keyboard to feed
to an application that's not the active one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top