corrected joystick example and removed white spaces