As the Portal Hopper is built on top of the new Input System, you can have access to this functionality via this Signal Type. The Input system uses strings to describe device attributes such as controller buttons or keyboard keys. NOTE: Our current implementation treats any input as a button, so no analog values can be accessed.
To read the A button from the right hand controller, create a signal of type input and enter the string <XRController>{RightHand}/{PrimaryButton}
Here are some more useful examples:
Button A: <XRController>
Button B: <XRController>
Button X: <XRController>
Button Y: <XRController>
Keyboard A:
Some control strings require modifiers such as Shift or Control. These modifiers are appended to the string using a ‘|’ (Pipe) symbol. For instance, to define Ctrl-A, use <Keyboard>/a|/<Keyboard>/ctrl
You can add up to 2 modifiers to the string.
Please refer to the Unity manuals for input mappings for XR devices.