Fixed SDL_GameControllerOpen() and SDL_JoystickOpen() documentation in header.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 20 Apr 2015 20:03:40 +0200
changeset 9569162adf32623f
parent 9568 a02d603d1de3
child 9570 8681778c5ede
Fixed SDL_GameControllerOpen() and SDL_JoystickOpen() documentation in header.
include/SDL_gamecontroller.h
include/SDL_joystick.h
     1.1 --- a/include/SDL_gamecontroller.h	Mon Apr 20 20:03:26 2015 +0200
     1.2 +++ b/include/SDL_gamecontroller.h	Mon Apr 20 20:03:40 2015 +0200
     1.3 @@ -163,8 +163,9 @@
     1.4  /**
     1.5   *  Open a game controller for use.
     1.6   *  The index passed as an argument refers to the N'th game controller on the system.
     1.7 - *  This index is the value which will identify this controller in future controller
     1.8 - *  events.
     1.9 + *  This index is not the value which will identify this controller in future
    1.10 + *  controller events.  The joystick's instance id (::SDL_JoystickID) will be
    1.11 + *  used there instead.
    1.12   *
    1.13   *  \return A controller identifier, or NULL if an error occurred.
    1.14   */
     2.1 --- a/include/SDL_joystick.h	Mon Apr 20 20:03:26 2015 +0200
     2.2 +++ b/include/SDL_joystick.h	Mon Apr 20 20:03:40 2015 +0200
     2.3 @@ -88,8 +88,9 @@
     2.4  /**
     2.5   *  Open a joystick for use.
     2.6   *  The index passed as an argument refers to the N'th joystick on the system.
     2.7 - *  This index is the value which will identify this joystick in future joystick
     2.8 - *  events.
     2.9 + *  This index is not the value which will identify this joystick in future
    2.10 + *  joystick events.  The joystick's instance id (::SDL_JoystickID) will be used
    2.11 + *  there instead.
    2.12   *
    2.13   *  \return A joystick identifier, or NULL if an error occurred.
    2.14   */