Refactor PlayerScript
Fix keyboard input
Disable on-screen joystick on devices without touchscreens