I am kind of confused what you are saying. But I think you want a KVM switch. I have one at the office and it works great, minus a slight mouse scroll problem. What it does is that it lets you use one monitor, one keyboard, and one mouse for two or more computers. I have to pressed Enter+Ctrl twice quickly to switch between the computers. Is that what you are looking for?
~Ibrahim~
Hi,
Is it possible in any way to connect computer1 with USB cable (and some kind of adapter maybe) to computer2 so that computer2 to think computer1 is a keyboard?
On computer1 I will have some kind of script or program to "type" on computer2.
Thanks!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic