You are not logged in.

mauma

Beginner

  • "mauma" started this thread

Posts: 24

Location: Lucca - Italy

Occupation: Photographer / Virtual Tour

  • Send private message

1

Friday, September 18th 2020, 2:39pm

Vr controller Axis

Hi everyone,
is it possible to capture the actuation of the axis of oculus quest?

Source code

1
vr_ctrl_l.addevent ('onvrcontrollerbutton', 'if (vrbuttonindex == 3 AND vrbuttonstate == "up", vrsetup_open (););');



This is the code in webVR.xml which is equivalent to the click down of the Oculus Quest joypad

But I can not intercept the movements up, left, right, down from joypad.

Does anyone know?

Thanks
Kima