How to configure the touchpad of Samsung gear vr?

I am searching the internet for some blueprint or tutorial to configure the touchpad of samsung gear vr like this:

Inside a room, for example, the user looks in the direction he wants and by clicking on the touchpad he starts to move in the direction of the look.

I will develop this test for Android.

Can someone help me?

Thank you!!!