open_path method
@brief Open a HID device by its path name.
The path name be determined by calling hid_enumerate(), or a platform-specific path name can be used (eg: /dev/hidraw0 on Linux).
This function sets the return value of hid_error().
@ingroup API @param path The path name of the device to open
@returns This function returns a pointer to a #hid_device object on success or NULL on failure.
Implementation
ffi.Pointer<hid_device> open_path(
ffi.Pointer<ffi.Int8> path,
) {
return _open_path(
path,
);
}