I am not sure if this has been posted already, but if you have two PCs HotKeyNet allows you to have both keyboards control either (or both) PCs such that each keyboard implements different behaviours.

(If you have 4 PCs you could have 4 keyboards with different behaviours for each keyboard)