"Write me a function that can completely disable camera rotation using the mouse, and disable the mouse when not in the main menu."