Function vcs_classic_hid::open_path [−][src]
pub fn open_path(device_path: &CStr) -> Result<HidDevice, HidError>
Inspect the list of devices available and open a classic controller device by path.
Safety: The function does not check whether the device behind the given path is actually the classic controller.