Switch wireless keyboard/trackpad while using iMac as external monitor I have an iMac with a pair of wireless keyboard/trackpad and another Macbook Pro (MBP). I just got a thunderbolt cable and try to use iMac as an external monitor for the MBP.

However, one problem is that, I have to press cmd+F2 on iMac. Then after that the wireless keyboard/trackpad will have problem pair with MBP using bluetooth, because it's still paired with iMac.

Is there a better way to have keyboard/trackpad easily switch between my iMac and MBP? I know two of the solutions but none of them seems to be very appealing to me:
1) Buy another pair of keyboard/trackpad just for MBP
2) Logitech got a easy-switch keyboard but no easy-switch trackpad

Any suggestion would be great. Thanks.
Check out Synergy.  It's a virtual keyboard/mouse switcher between multiple OS types.  You install the same client on each machine you want to use, and on the "master" machine (server), you configure the virtual arrangement of all the screens.

Very easy to use and set up.  I use it between multiple Macs while they're each booted into their own OS's.  The keyboard/mouse stays "connected" to the "server," so here's how you might use it for your problem:


Download and install Synergy on both machines.
Setup the iMac as the "client."
Setup the MacBook Pro as the "server."
Drag the mouse cursor to the iMac and press Command+F2.


I haven't tested this exact setup myself, but I think it might be a feasable solution.  Best of luck!