Jump to content

Two programs to recieve keyboard input simultaneously?


Seb
 Share

Recommended Posts

Hi,

A tough one here. Does anyone know a way to control 2 or more programs simultaneously? i.e. give focus to two programs?

My brother wants to control two games (full screen), on the same PC, at once, I assume that he only needs one to be maximized at a time, but the trouble is giving focus to one will cut the keyboard off from the other, Any way he can make this work?

Link to comment
Share on other sites

...but the trouble is giving focus to one will cut the keyboard off from the other, Any way he can make this work?

This is absolutely correct, and the reason for this, is that it is the core of your OS which controls who to send the mouse and keyboard input to.

Whenever a mouse is moved, clicked or scrolled - the mouse driver generates a "mouse-event" which is then shipped to the OS, who then gives it to which ever program is:

in focus - both in the queue AND in the area the mouse is moving

listening for it

AND

short down the queue in the processor time queue.

Same counts for keyboard strokes...

This means - ONE event generated = ONE program to get the event.

But with all that said - a NON-original "driver" can actually send the event to more programs, working arround the OS.

The reason for putting the quote marks arround driver, is that it doesn't have to be a driver, but a simpler program, like a keyboard logger, who always forwards the event after registering it.

So my point is, this is actually doable, but i never found a trustworthy program which is able to do so, and it would require quite some skill to get it to work.

Link to comment
Share on other sites

Hey,

Thanks for the replies. Ive been looking for programs, none yet, the closest is a program which allows control of multiple PCs with one keyboard/mouse.

Using a keylogger to forward the event is a very clever idea. Ill do a little more work but as you say, it will take some serious skill to make work, ill tell him to use another PC (even if it isnt the best) to run the other instance then get a program/adapter to recreat the keyboard data.

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy