bechtol449 Posted October 23, 2009 Share Posted October 23, 2009 (edited) Before I go and try to learn how to do all this AutoIt programing I thought it would be smart to ask if this was even possible. What I would try to do would be to make some hotkeys so that when you clocked w,a,s,d,spacebar,left mouse click, ect it would send the inputs to CoDWaW.exe and when you click i,j,k,l (I would use a program i've seen to convert gamepad button presses into keyboard input i.e. i,j,k,l) it would send the inputs to CoDWaW2.exe. Assuming I can get two CoDWaW's running on each of my monitors would it even be possible? I could try a different game that can go into windowed mode also. I was just curious if thats even possible to have two games up and then a guy on mouse and a guy on a gamepad playing on the same computer. I figure this could be sort of like a really ghetto way of making coop split screen games on the pc. Thanks for any help! Edited October 23, 2009 by bechtol449 Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 23, 2009 Share Posted October 23, 2009 You could MAYBE use HotKeySet() to get the keys. You could MAYBE use ControlSend() to send the keys. Check those two in the helpfile. This is all one big MAYBE, depending mostly on how the game handles it input (the keyboard in this case). It would most probably work with Notepad but I guess that's not a very fun game I leave no guarantees that what I said is 100% correct, I am currently very sleepy and.... *crash* Sleep(28800000) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
jvanegmond Posted October 23, 2009 Share Posted October 23, 2009 Here's some things that you will need to know. What you're trying to do may or may not be possible.1. Processes do not handle input2. Windows handle input3. Only the active window receives input (by Windows design)4. Some windows actively monitor for input5. Some windows actively check if they are the active window, before accepting any input (even when forced)6. Prepare for the unexpected!That being said, AdmiralAlkex has a good understanding of how you may be able to do this. But it's a big 'maybe'. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now