We are discussing here about how to send characters (and other data) into a laptop's PS2 keyboard (& mouse) input port?
Ok I have uploaded to the playground a library that implements the device side of the ps/2 protocol. I used it in a couple projects, including a sun type 5 to ps/2 interface. Also the ps/2 port on the computer can provide plenty of power to drive the arduino
Very interesting! I have also made such a library, and it's quite similar to yours. However, I've had some timing-issues, especially when I try to emulate both a mouse and a keyboard at the same time. Have you tried this with your library? I will definitely look into this later today, as it might solve some problems I've been struggling with for weeks.
It seems an Arduino acting as a keyboard via PS/2 is easier (hardware and software wise) than doing it via USB