You may need to change the port by hand if your USB-TTL adapter comes up as something different than /dev/ttyUSB0 (hintWindows COM portshint).
virtualenv .
. bin/activate
# didn't work for me
#pip install pygame --allow-external pygame --allow-unverified pygame
# worked
pip install hg+http://bitbucket.org/pygame/pygame
python here.py
Now type in the black window, every keystroke should be mapped and forwarded, modifier keys like ctrl, alt and the window key should be working.
For the complete description of the remote management stack, see: http://euer.krebsco.de/a-software-kvm-switch/