[][src]Function vigem_sys::binds::vigem_disconnect

pub unsafe extern "C" fn vigem_disconnect(vigem: PVIGEM_CLIENT)

\fn void vigem_disconnect(PVIGEM_CLIENT vigem);

\brief Disconnects from the bus device and resets the driver object state. The driver object may be reused again after calling this function. When called, all targets which may still be connected will be destroyed automatically. Be aware, that allocated target objects won't be automatically freed, this has to be taken care of by the caller.

\author Benjamin "Nefarius" H�glinger \date 28.08.2017

\param vigem The driver connection object.