Tripwire is a program that detects mouse movements and alerts you accordingly.