In the 777 it's a direct mechanical linkage between the controls, with a torque-driven breakout which temporarily severs the link if there's too much difference in the two pilots' inputs
That still leaves the question of how to interpret opposing inputs for the physical control surfaces, though