msub2/silk-brush-2021

Thumbstick input not registering

Closed this issue · 2 comments

msub2 commented

While button input appears to be working currently, moving the thumbsticks doesn't affect the wand or activate teleport. May have been caused by how I mapped VrInput, will test when I'm home

msub2 commented

As it turns out, the panels use GetScrollXDelta(), which I had just set to return 0. Still not perfect, as the panels don't actually rotate enough to change yet.

msub2 commented

Figured out why panels weren't rotating; AccumulateSwipe() checks for IsBrushScrollActive(), which looks for a touch input on either the touchpad or the thumbstick and right now is returning false. Implemented a MapVrTouch function in WebXRControllerInfo, similar to Oculus, that will return true if the the input is a non-zero value.