alternatively you can use this automatic mouse mover
paired with this free mirroring software
I did the coding part because I like CS