Function gvr_controller_pause

Source
pub unsafe extern "C" fn gvr_controller_pause(
    api: *mut gvr_controller_context,
)
Expand description

Pauses the controller, possibly releasing resources. Call this when your app/game loses focus. Calling this when already paused is a no-op. Thread-safe (call from any thread).

@param api Pointer to a gvr_controller_context.