Sharing a Bluetooth Keyboard and Mouse sequentially between two Macs I work out of my house where I have two computers: a mid-2010 Macbook Pro (for my day job) and a mid-2010 iMac (personal). During the workday, my iMac acts as a second display for my Macbook Pro via Mini Displayport.

Currently, I use a USB keyboard and mouse for my work computer and a Bluetooth keyboard and Magic Mouse + Magic Trackpad for use with my personal computer. I'd like to get rid of the wired keyboard and mouse and just use the Bluetooth stuff for both machines (but never simultaneously). 

Is it possible to easily share the single set of input devices without having to repeatedly break and reestablish the pairing of the input device to the correct computer? I'm not opposed to buying some type of additional hardware to accomplish this, provided it's not prohibitively costly or cumbersome to use or configure.

It's not clear to me how I would tell the MacBook Pro to leave the devices alone so the iMac can have them for the evening. I want to avoid de-pairing and re-pairing the devices each time I want to shift them back or forth.

Basically is there software or hardware that works as a Bluetooth KVM switch?
I, too, was looking for an answer to this very question. Here is the solution that I came up with:


Go to System Preferences -> Bluetooth
Click 'Advanced'
Make sure that 'Allow Bluetooth devices to wake this computer' is
unchecked
Click 'OK'


Now, when I want to switch from my main computer to my MacBook Pro, I put the main computer to sleep and wake up the second one. The bluetooth keyboard and mouse both switch over to the laptop and away I go. When I want to return to the main computer, I put the laptop to sleep and wake the Mac Mini using its power button.