-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Joysitck not work when click or touch is added #1828
Comments
{ |
when code like this, everything is OK
vr::VRDriverInput()->CreateScalarComponent(container, "/input/joystick/x", &input_handles_[MyComponent_joystick_x], vr::VRScalarType_Absolute, vr::VRScalarUnits_NormalizedTwoSided);
r::VRDriverInput()->CreateScalarComponent(container, "/input/joystick/y", &input_handles_[MyComponent_joystick_y], vr::VRScalarType_Absolute, vr::VRScalarUnits_NormalizedTwoSided);
vr::VRDriverInput()->UpdateScalarComponent(input_handles_[MyComponent_joystick_x], 0.4, 0.0);
vr::VRDriverInput()->UpdateScalarComponent(input_handles_[MyComponent_joystick_y], 0.4, 0.0);
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The text was updated successfully, but these errors were encountered: