Synergy is free and open source software for sharing one mouse and keyboard between multiple computers on your desk.