(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_hid_close

Close a HID device.

Header File

Defined in SDL_hidapi.h

Syntax

void SDL_hid_close(SDL_hid_device *dev);

Function Parameters

dev A device handle returned from SDL_hid_open().

Version

This function is available since SDL 2.0.18.


CategoryAPI, CategoryAPIFunction, CategoryHIDAPI