include/SDL_gamecontroller.h
changeset 6871 bd681c870ccf
parent 6795 f445268492a7
child 6873 f042ae287155
     1.1 --- a/include/SDL_gamecontroller.h	Tue Feb 12 16:17:24 2013 -0800
     1.2 +++ b/include/SDL_gamecontroller.h	Tue Feb 12 17:07:21 2013 -0800
     1.3 @@ -113,7 +113,7 @@
     1.4   *  Is the joystick on this index supported by the game controller interface?
     1.5   *		returns 1 if supported, 0 otherwise.
     1.6   */
     1.7 -extern DECLSPEC int SDLCALL SDL_IsGameController(int joystick_index);
     1.8 +extern DECLSPEC SDL_bool SDLCALL SDL_IsGameController(int joystick_index);
     1.9  
    1.10  
    1.11  /**
    1.12 @@ -141,7 +141,7 @@
    1.13  /**
    1.14   *  Returns 1 if the controller has been opened and currently connected, or 0 if it has not.
    1.15   */
    1.16 -extern DECLSPEC int SDLCALL SDL_GameControllerGetAttached(SDL_GameController * gamecontroller);
    1.17 +extern DECLSPEC SDL_bool SDLCALL SDL_GameControllerGetAttached(SDL_GameController * gamecontroller);
    1.18  
    1.19  /**
    1.20   *  Get the underlying joystick object used by a controller