[Daydream][C#]How would I make a simple directional controller with Google Daydream Controller?

I’m creating a game that uses the Daydream controller as a lightsource (via the gyro) and using the touchpad of the controller as a 4-way direction pad or scroller.
I’m thinking of something similar to the Adventure Daydream sample but not exactly the same.

Upon looking at the Controller API basics I think I’ll need to create a controller script that uses GvrController.IsTouching to track the position of the users finger on the touchpad, so if the users finger is on the top area of the touchpad then the player will move forward and so on…

// Example: check the position of the user's finger on the touchpad
  if (GvrController.IsTouching) {
    Vector2 touchPos = GvrController.TouchPos;
    // Do something.
  }

Will this idea work? Would it be simple to create button parameters on the Daydream touchpad (ei if the finger is in position y=top and x=0 then player is touching button “forward”)?

I’ve tried to put something together but I’m messing up somewhere. I’m not 100% familiar with C# so I’m having trouble putting it together. Can anyone help me out?
using UnityEngine;
using System.Collections;
using Gvr;

public class PlayerController : MonoBehaviour {
	
	// Update is called once per frame
	void Update () {
		if (GvrController.IsTouching) {
			Vector2 touchPos = GvrController.TouchPos;
			var forward = touchPos.y (0, .5f);
			var backward = touchPos.y (1, .5f);
			var left = touchPos.x (-1, 0f);
			var right = touchPos.x (1, .5f);
		}
	}
}

I’m getting missing definitions errors and I’m missing something fundamental. Any help would be nice.