auto-checking useMouse if no pen