control the mouse through keyboard