Function gvr_sys::gvr_controller_pause
[−]
[src]
pub unsafe extern "C" fn gvr_controller_pause(api: *mut gvr_controller_context)
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.