Mouse motion working after som minor brain glitch
Using switch statement instead of if else