Does the WL.InputComponent
give access to the XRSourceInputArray? To read buttons states on a controller?
Is it “WL.xrSession.inputSources”?
If you have a input component, you can inputComp.xrInputSource
(https://wonderlandengine.com/jsapi/inputcomponent/#xrinputsource)
That will return the input source for the right/left hand, depending on the input component’s type
for something fast, u can do
WL.xrSession.inputSources[0].gamepad.buttons[index].pressed
tho u can’t know if it is left or right