[GD-Windows] Faking Input on Clients
Brought to you by:
vexxed72
From: Eric M. <ema...@um...> - 2004-02-05 17:58:13
|
Hello All, I'm really stuck on this one and can't seem to find a good answer on the web. I have several clients and one server computer. The clients are all running the same game/app/demo/whatever. I would like to capture the input from the control computer (not a problem), send it to each client (not a problem), and then simulate the keyboard and mouse events on each client as if a local user did them. (big problem) For a little context, each client renders a separate screen and I want to synchronize their input so that all screens line up. I can do this without a problem running my own applications since the app is setup to handle external input streams. However, I can't seem to find a way to do it for a generic demo or game. I spotted the SendInput() command, but that seems to only work on the current window. Any insight would be appreciated. Thanks E. P.S. All are running XP. |