sdlHidClose function
Close a HID device.
\param dev a device handle returned from SDL_hid_open(). \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC int SDLCALL SDL_hid_close(SDL_hid_device *dev)
Implementation
int sdlHidClose(Pointer<SdlHidDevice> dev) {
final sdlHidCloseLookupFunction = libSdl3.lookupFunction<
Int32 Function(Pointer<SdlHidDevice> dev),
int Function(Pointer<SdlHidDevice> dev)>('SDL_hid_close');
return sdlHidCloseLookupFunction(dev);
}