ovr_GetInputState

Function ovr_GetInputState 

Source
pub unsafe extern "C" fn ovr_GetInputState(
    session: ovrSession,
    controllerType: ovrControllerType,
    inputState: *mut ovrInputState,
) -> ovrResult
Expand description

Returns the most recent input state for controllers, without positional tracking info.

out inputState Input state that will be filled in.

ovrControllerType Specifies which controller the input will be returned for.

Returns ovrSuccess if the new state was successfully obtained.

see ovrControllerType