Browse Source

Sync wiki -> header

SDL Wiki Bot 3 years ago
parent
commit
192538357b
2 changed files with 4 additions and 0 deletions
  1. 2 0
      include/SDL_gamecontroller.h
  2. 2 0
      include/SDL_joystick.h

+ 2 - 0
include/SDL_gamecontroller.h

@@ -846,6 +846,8 @@ extern DECLSPEC int SDLCALL SDL_GameControllerSetLED(SDL_GameController *gamecon
  * \param size The size of the data to send to the controller
  * \returns 0, or -1 if this controller or driver doesn't support effect
  *          packets
+ *
+ * \since This function is available since SDL 2.0.16.
  */
 extern DECLSPEC int SDLCALL SDL_GameControllerSendEffect(SDL_GameController *gamecontroller, const void *data, int size);
 

+ 2 - 0
include/SDL_joystick.h

@@ -787,6 +787,8 @@ extern DECLSPEC int SDLCALL SDL_JoystickSetLED(SDL_Joystick *joystick, Uint8 red
  * \param data The data to send to the joystick
  * \param size The size of the data to send to the joystick
  * \returns 0, or -1 if this joystick or driver doesn't support effect packets
+ *
+ * \since This function is available since SDL 2.0.16.
  */
 extern DECLSPEC int SDLCALL SDL_JoystickSendEffect(SDL_Joystick *joystick, const void *data, int size);