Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There is a need for two of us with my friend to use one PC at the same time. I have a gaming PC, 2 screens, a gamepad — sounds like a great multi-user environment, eh? Not so fast. The problem is: most of the games, even if windowed, require to be focused in order to keep running. Few games have a switchable option for that. Is there a way to hook WinAPI focus/defocus events so that the process will never receive "defocused" event? Or is there a fixed pattern by which I can find such a WinAPI check in program's executable and disassemble it?

share|improve this question
3  
I think you're going to run into a bigger problem in figuring out how to route input to the proper window. –  SaintWacko Mar 11 '13 at 23:49
    
I don't think so considering I am only using XInput library for the games I want to fool. –  Erquint Mar 12 '13 at 22:02
add comment

1 Answer

In Windows Multipoint Server think you have everything listed.

Old software hardware implementation:Jetway's 915P-TWIN Mobo: One PC, Two Users

Software - BeTwin.

Virtual box, as variant.

WinAPI:

Should I use DirectInput or Windows message loop?

Multiple keyboards and low-level hooks

Using Raw Input from C# to handle multiple keyboards

share|improve this answer
    
Hardware isn't an option. BeTween seems to only work for 2000/XP. Mouse and keyboard controls doesn't have to be shared as I only need a gamepad for games. –  Erquint Mar 12 '13 at 22:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.