SDL_hid_close - Man Page

Close a HID device.

Header File

Defined in SDL3/SDL_hidapi.h

Synopsis

#include "SDL3/SDL.h"

int SDL_hid_close(SDL_hid_device *dev);

Function Parameters

dev

a device handle returned from SDL_hid_open ().

Return Value

Returns 0 on success or a negative error code on failure; call

SDL_GetError () for more information.

Availability

This function is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS