mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Fixed SDL_GameControllerOpen() and SDL_JoystickOpen() documentation in header.
This commit is contained in:
parent
83c088a04a
commit
71c65b1569
@ -163,8 +163,9 @@ extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_
|
|||||||
/**
|
/**
|
||||||
* Open a game controller for use.
|
* Open a game controller for use.
|
||||||
* The index passed as an argument refers to the N'th game controller on the system.
|
* The index passed as an argument refers to the N'th game controller on the system.
|
||||||
* This index is the value which will identify this controller in future controller
|
* This index is not the value which will identify this controller in future
|
||||||
* events.
|
* controller events. The joystick's instance id (::SDL_JoystickID) will be
|
||||||
|
* used there instead.
|
||||||
*
|
*
|
||||||
* \return A controller identifier, or NULL if an error occurred.
|
* \return A controller identifier, or NULL if an error occurred.
|
||||||
*/
|
*/
|
||||||
|
@ -88,8 +88,9 @@ extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index);
|
|||||||
/**
|
/**
|
||||||
* Open a joystick for use.
|
* Open a joystick for use.
|
||||||
* The index passed as an argument refers to the N'th joystick on the system.
|
* The index passed as an argument refers to the N'th joystick on the system.
|
||||||
* This index is the value which will identify this joystick in future joystick
|
* This index is not the value which will identify this joystick in future
|
||||||
* events.
|
* joystick events. The joystick's instance id (::SDL_JoystickID) will be used
|
||||||
|
* there instead.
|
||||||
*
|
*
|
||||||
* \return A joystick identifier, or NULL if an error occurred.
|
* \return A joystick identifier, or NULL if an error occurred.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user