include/SDL.h
changeset 7360 b86947ea2749
parent 7191 75360622e65f
child 7370 9af77b0c7c93
     1.1 --- a/include/SDL.h	Sat Jul 06 11:56:04 2013 -0700
     1.2 +++ b/include/SDL.h	Sat Jul 06 12:28:57 2013 -0700
     1.3 @@ -106,13 +106,14 @@
     1.4  /*@{*/
     1.5  #define SDL_INIT_TIMER          0x00000001
     1.6  #define SDL_INIT_AUDIO          0x00000010
     1.7 -#define SDL_INIT_VIDEO          0x00000020
     1.8 -#define SDL_INIT_JOYSTICK       0x00000200
     1.9 +#define SDL_INIT_VIDEO          0x00000020  /**< SDL_INIT_VIDEO implies SDL_INIT_EVENTS */
    1.10 +#define SDL_INIT_JOYSTICK       0x00000200  /**< SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS */
    1.11  #define SDL_INIT_HAPTIC         0x00001000
    1.12 -#define SDL_INIT_GAMECONTROLLER 0x00002000      /**< turn on game controller also implicitly does JOYSTICK */
    1.13 -#define SDL_INIT_NOPARACHUTE    0x00100000      /**< Don't catch fatal signals */
    1.14 +#define SDL_INIT_GAMECONTROLLER 0x00002000  /**< SDL_INIT_GAMECONTROLLE implies SDL_INIT_JOYSTICK */
    1.15 +#define SDL_INIT_EVENTS         0x00004000
    1.16 +#define SDL_INIT_NOPARACHUTE    0x00100000  /**< Don't catch fatal signals */
    1.17  #define SDL_INIT_EVERYTHING ( \
    1.18 -                SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | \
    1.19 +                SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_EVENTS | \
    1.20                  SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER \
    1.21              )
    1.22  /*@}*/