DRAFT |
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.
SDL_IsDeviceDisconnected
Use this function to check whether an specific input device is disconnected.
Contents
Syntax
int SDL_IsDeviceDisconnected(int index)
Function Parameters
index |
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,,.
green
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Related Functions
CategoryAPI, CategoryInput
