Duplicate keystrokes onto remote computer in realtime

view story

http://unix.stackexchange.com – Sort of like a poor man's keyboard sharing. I've tried using Synergy and x2x but couldn't get them to work, so I decided to simplify things and use xdotool to generate the events. Is there any way to get the keysyms (such as Control_L, F4, Shift_R) of keystrokes so they can be passed on to xdotool? I've looked at xev but it generates so much information and I have no idea how to extract the info I need (which key was pressed, whether it is being held down, etc.) more or less in real time. (HowTos)