Function ovr_sys::ovr_GetInputState [] [src]

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

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