test the mouse input