Have you tried searching for a software based KVM?
It's not Mac compatible, but I use http://www.inputdirector.com to use 1 keyboard/mouse for both my laptop + desktop. Works perfectly, it's like having a second monitor, you can even copy + paste between them. Maybe there are Mac compliant ones...