Cinder-VR icon indicating copy to clipboard operation
Cinder-VR copied to clipboard

vive trigger/axes processing prevents continuous values

Open grrrwaaa opened this issue 8 years ago • 3 comments

The way the trigger and axis handling is done in the openvr binding captures an instantaneous value, rather than the current actual value of the trigger/axis; setTriggerValue() is only called if the trigger touch state changes. This doesn't match how the oculus binding is done, where setTriggerValue() is called every time.

More importantly it doesn't allow a continuous sampling of the trigger or axis state, which is weird.

(Also, the difference between touch and press events is not captured by the Cinder-VR binding at the moment.)

grrrwaaa avatar Feb 28 '17 19:02 grrrwaaa

Put a fix in my fork here, let me know if you want a pull request. https://github.com/worldmaking/Cinder-VR/commit/fb9ef6afb93095adac6bcea9cec447dfb328fdba

grrrwaaa avatar Feb 28 '17 19:02 grrrwaaa

Pull request would be awesome!

chaoticbob avatar Feb 28 '17 21:02 chaoticbob

OK I will do, but not just yet -- seems like I'm still not getting continuous data. Hope to get time today to figure out why but otherwise it may be next week.

grrrwaaa avatar Mar 03 '17 19:03 grrrwaaa