include/SDL_joystick.h
changeset 6746 1ae364ea5112
parent 6738 b408d5a406a3
child 6885 700f1b25f77f
equal deleted inserted replaced
6745:de3683865c14 6746:1ae364ea5112
   108  *  Return the GUID for this opened joystick
   108  *  Return the GUID for this opened joystick
   109  */
   109  */
   110 extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUID(SDL_Joystick * joystick);
   110 extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUID(SDL_Joystick * joystick);
   111 
   111 
   112 /**
   112 /**
   113  *  Return a string representation for this guid. You are responsible for freeing memory from this call
   113  *  Return a string representation for this guid. pszGUID must point to at least 33 bytes
       
   114  *  (32 for the string plus a NULL terminator).
   114  */
   115  */
   115 extern DECLSPEC void SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID);
   116 extern DECLSPEC void SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID);
   116 
   117 
   117 /**
   118 /**
   118  *  convert a string into a joystick formatted guid
   119  *  convert a string into a joystick formatted guid