include/SDL_joystick.h
changeset 9569 162adf32623f
parent 9227 4d9126f64347
child 9619 b94b6d0bff0f
equal deleted inserted replaced
9568:a02d603d1de3 9569:162adf32623f
    86 extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index);
    86 extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index);
    87 
    87 
    88 /**
    88 /**
    89  *  Open a joystick for use.
    89  *  Open a joystick for use.
    90  *  The index passed as an argument refers to the N'th joystick on the system.
    90  *  The index passed as an argument refers to the N'th joystick on the system.
    91  *  This index is the value which will identify this joystick in future joystick
    91  *  This index is not the value which will identify this joystick in future
    92  *  events.
    92  *  joystick events.  The joystick's instance id (::SDL_JoystickID) will be used
       
    93  *  there instead.
    93  *
    94  *
    94  *  \return A joystick identifier, or NULL if an error occurred.
    95  *  \return A joystick identifier, or NULL if an error occurred.
    95  */
    96  */
    96 extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickOpen(int device_index);
    97 extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickOpen(int device_index);
    97 
    98