Is there a way to activate a button press in unity xr using the interactor events

Is there a way to activate a button press in unity XR using the interactor events, without pressing the controller button. I want to activate buttons and input field by hovering on the button or the inputfield

I had to add a pointer enter event on the button to make it work. Unity buttons comes with onclick event by default, so this needed to be changed