How to detect a tap or up, down, left, right swipe for Gear VR?

I want to be able to use a tap or swipe as controls for several things in a project on Unity. All I know is that the touchpad on the Gear VR simulates a mouse, but i don’t get how it would be detected.
This is the Gear VR for GS6, S6 edge, S6 edge+ and Note 5. Not the Note 4.

ps. I am still a beginner in Unity, so please try to keep any explanation simple if you can

Gear VR handles input processing that you can tie into check their documentation.
https://developer.oculus.com/documentation/game-engines/latest/concepts/unity-ovrinput/

First download and import “Oculus Utilities for Unity 5” v1.10

https://developer3.oculus.com/downloads/

void Start () {
        OVRTouchpad.Create();
        OVRTouchpad.TouchHandler += HandleTouchHandler;
    }

    void HandleTouchHandler(object sender, System.EventArgs e)
    {

        OVRTouchpad.TouchArgs touchArgs = (OVRTouchpad.TouchArgs)e;
        if (touchArgs.TouchType == OVRTouchpad.TouchEvent.SingleTap)
        {
            text2.text = "TAP!";

        }
        if (touchArgs.TouchType == OVRTouchpad.TouchEvent.Down)
        {
            text2.text = "Down!";

        }
        if (touchArgs.TouchType == OVRTouchpad.TouchEvent.Up)
        {
            text2.text = "UP!";

        }
        if (touchArgs.TouchType == OVRTouchpad.TouchEvent.Right)
        {
            text2.text = "Right!";

        }
        if (touchArgs.TouchType == OVRTouchpad.TouchEvent.Left)
        {
            text2.text = "Left!";

        }
    }
}

this script is not working , to make a single tap i used
input (Input.GetKeyUp(KeyCode.Mouse0))
it worked in my case but to make a swipe input i tried y axis as it done in mobile touch