rotate camera on touch android device using new unity input system

I am trying to create first person camera. Here is my scene:


and my action map:

using System.Collections;
using System.Collections.Generic;
 using UnityEngine;

     public class camera : MonoBehaviour
      {
        public Transform playerPos;
      Camera cam;
            private Player playerInput;

void Awake()
{
    cam = GetComponent<Camera>();
    playerInput = new Player();
}

void Update()
{
  transform.position = playerPos.transform.position;
}
private void OnEnable()
{
    playerInput.Enable();
}
private void OnDisable()
{
    playerInput.Disable();
}
 }

can someone know create create first person camera rotate on touch android device
i seen this video but i dont want to use cinemachine and camera should be first person
video link - Mobile Joystick with NEW Input System and Cinemachine - Unity Tutorial - YouTube

can anybody help me pls

thank you !

Hi @allforyou975 ! you can use Lean Touch to make Android typing easier (which even works on Windows and IOS). Use the LeanDragCamera component to get the result you want. Here is the LeanTouch link: Lean Touch | Input Management | Unity Asset Store. If you want more information about LeanTouch, you can add me to my discord in my bio.

Hi have you taken a look at the new unity Starter pack?

It has both a version of virtual joystick for mobile and virtual touch areas.
Check the video. You can simply download the project from asset store and use the game’s code for your game.