Closed avaer closed 5 years ago
Our WebXR gamepad button mapping from the API to Exokit Web internals is not correct. The trigger/menu/pad button indexes are wrong.
We already know that buttons[0] should be the trigger, but we should map out the full set of buttons.
buttons[0]
for the Index, the buttons layout is: [0] = trigger [1] = grip OR A [2] = touchpad OR thumbstick > 0.8 OR clicked
Fixed with https://github.com/exokitxr/exokit-web/pull/70.
Our WebXR gamepad button mapping from the API to Exokit Web internals is not correct. The trigger/menu/pad button indexes are wrong.
We already know that
buttons[0]
should be the trigger, but we should map out the full set of buttons.