SDL Wiki


THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

```#!wiki warning The SDL_input.h header is incomplete and has been temporarily removed from the wiki. Please disregard this and related pages until this notice has been removed. ```


Use this function to check whether a,,n,, ^specific^ input device is disconnected.


int SDL_IsDeviceDisconnected(int index)

Function Parameters


the index of the device to query

Return Value

Returns ^# if the device is disconnected, # if it is connected^ ; call SDL_GetError() for more information,,.

Can't find reference for values. Need source. Error state for this one?

SDL_RedetectInputDevices ???

CategoryAPI, CategoryInput, CategoryDraft

[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.