How to make a Mac mini and MacBook Pro work together (one keyboard for two Macs)?
Synergy is amazing! You can check it out at http://synergy-foss.org/ it's pretty great software! I use it in my office to use one Keyboard and Mouse for a bunch of machines I have. Even works between OSX, Linux and PCs.

Check out the site... http://synergy-foss.org/ It is a free download! It's pretty awesome stuff. Hope this helps!