include/SDL_joystick.h
changeset 9916 9429bc102632
parent 9884 26b595dea221
child 9917 450a2f6e2bf2
     1.1 --- a/include/SDL_joystick.h	Sat Nov 14 04:24:39 2015 -0400
     1.2 +++ b/include/SDL_joystick.h	Sat Nov 14 12:35:45 2015 -0500
     1.3 @@ -107,6 +107,11 @@
     1.4  extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickOpen(int device_index);
     1.5  
     1.6  /**
     1.7 + * Return the SDL_Joystick associated with an instance id.
     1.8 + */
     1.9 +extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickFromInstanceID(SDL_JoystickID joyid);
    1.10 +
    1.11 +/**
    1.12   *  Return the name for this currently opened joystick.
    1.13   *  If no name can be found, this function returns NULL.
    1.14   */