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_GetNumInputDevices
Use this function to get the number of mouse input devices available.
This API is not limited to mice. Should it say pointing" or similar instead to specify the type of input device (ie: not a keyboard) without being overly specific?"
Syntax
int SDL_GetNumInputDevices(void)
Return Value
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information. ??? Source?
Code Examples
You can add your code example here
Remarks
You can add useful comments here
Would it be helpful to mention the types of input devices it would or would not count?
Related Functions
CategoryAPI, CategoryInput