chickadee » sdl2 » joystick-from-instance-id

joystick-from-instance-id idprocedure

See SDL_JoystickFromInstanceID.

NOTE: The returned joystick will be a new sdl2:joystick record pointing to the address of the existing joystick. It will be equal? to other sdl2:joystick records for the same joystick, but not eq?.

This procedure is available in sdl2 egg version 0.2.0 and higher. It requires SDL 2.0.4 or higher. It signals an error if the compiled version of SDL is not high enough. Use the libSDL-2.0.4+ feature identifier to check before calling this procedure.