How would you detect input on buttons on a gui for VR (Oculus Touch)

How would you detect input on buttons on a gui for VR (Oculus Touch)