Cardboard for unity sdk action button on joystick

Hello!

What is the correct way to set action command to joystick button by using unity cardboard sdk?
By default it is mouse click in editor or trigger/touch on screen when app is built.

Thanks!

Guessing you’d use Unity Gamepad support, and do a separate test for the game pad button/s being pushed, and then if either triggers do your action.