Getting two keyboards to work with seperate programs?

  • Thread starter Thread starter Guest
  • Start date Start date
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,
 
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.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
 
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.
 
Back
Top