360 Virtual Tour - Switch using Joystick

I am creating a 360 virtual tour for VR headset in Unity - I create sphere and fill it with panoramic photo as material. I create multiple such spheres.

I want to configure my VR BOX joystick such that when I click one particular button on it I move to the next image.

I was creating virtual tour according to this tutorial:

Thank you for all comments.

call that same method they use to switch sphere, when button is pressed,
4553821--422818--upload_2019-5-17_23-23-42.png
image from that video, it seems to be script SphereChanger,
and method is ChangeSphere(targetsphere)
with target sphere transform as parameter

i think you can get button press from

if (Input.GetButtonDown("Fire1"))

Thank you @mgear
yes following that approach but how can i detect moving forward and backward spheres as i m not able to find that particular object ?

not sure what you mean by ‘moving forward and backward spheres as i m not able to find that particular object’?

do you mean, you click 1 button to next sphere, and another button to go back to previous?

yes sorry for the confusion
this is exactly what i meant “click 1 button to next sphere, and another button to go back to previous

if you have already all the spheres in the scene,
can create array of transforms from them:
publicTransform[ ] allSpheres;
int currentIndex=0; // keep track of which sphere we are in

then using your buttons it would increment the currentIndex,
and also need to check if can increase (go next) or decrease (go previous) it,
then go to next sphere, using the current transform from the array:
ChangeSphere(allSpheres[currentIndex])

Thanks a lot @mgear exactly what i wanted

Appreciate the help.