I've noticed that this doesn't _always_ work. Sometimes I just mash my mouse into the side of my screen and never get on to my iPad. So I've just switched to Logitech bluetooth mouse and keyboard. It's easier than a KVM and more reliable than software.