Wiki Page Content


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 detect input devices after initializing SDL.


int SDL_RedetectInputDevices(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


You can add useful comments here

From header. Belongs here? This invalidates all existing device information from previous queries!

There is an implicit (re)detect upon SDL_Init().

Category!API, CategoryInput

None: SDL_RedetectInputDevices (last edited 2013-09-01 19:03:34 by PhilippWiesemann)

Please include your contact information if you'd like to receive a reply.