How to play Portal 2 co-op on one PC with 2 Keyboards and 2 Mice

keyboardmouseportal-2

I do not have an XBOX 360 controller (and if I had I would not want to use it for a FP"S" ;)). Is there a way to play the co-op mode on one PC where both players play with their own keyboard and mouse?

I guess what I am looking for is a 360-emulator that would take keyboard+mouse as input. The programs I found so far only allow you to emulate the 360 controller using another controller, joystick or wheel (most famously the "x360ce" program).

Or is it possible to tweak some portal 2 config files / are there any console commands?

Best Answer

When you use two keyboards and mice, the computer cannot differentiate between the two. If you move one mouse, the cursor will move - with the other mouse, the cursor will also move; there is no difference. You can also type using two keyboards at once.

This unfortunately means you cannot pay co-op with two sets of keyboard and mouse. The 360-emulator reads the controllers unique id, which is used to tell them apart. Keyboards and mice do not have this capability.