Errm afaik that isnt possible with a software such as VNC [by VNC i mean all those remote client/server apps such as Tight VNC,UltraVNC to name a few].
Forgive me for asking this but what is your requirement may I ask?
Controlling both the systems even with reverting roles will involve making use of their mouse movements plus anything that is being carried out on the system.