disable mouse when typing