title: unity how to control camera view using a single joystick?
body: <p>Does any one know how to control the camera view with only a single joystick? Currently im using a joystick from the switch.
  Heres my current code.</p>
  
  <pre><code> public class MoveCamera : MonoBehaviour 
  {
  public float speed = 1.0f;
  Camera cameraMovement;
  
  void Update () 
  {    
  
      float xRot = speed * Input.GetAxis("JoyStickX");
      float yRot = speed * Input.GetAxis("JoyStickY");
  
      transform.Rotate(xRot, yRot, 0.0f);
  }
  }
  </code></pre>