Use gamepad button like PointerClick

hi, sorry, im begginer and sorry for my english i’m french
i search > 2 hours on website, but i dont find anything…
i want know if i can use PointerClick Event with my gamepad, i explain

i make a vr game, and when my rerticle is on object i want push a button to add that object in my inventory, that work when i play with my computer with the mouse with event trigger, but how do the same with a gamepad’s button ?

(vr view : with reticle i see an object, and when i push a gamepad’s button i want a script do a work (add object to invotory and delete him, but isnt my problem))

ty and please guys

Any Ideas for this ?!?