I've been messing around for two days now and I still can't figure this out. I'm using 1.27 SDK and it seems I can only use the controller to interact with Unity UI. I did a small test with 12.6.1 and I've managed to get it working but clearly don't remember how.
I want to be able to use the controller and gaze look to interact with objects but it seems the input module only allows one.