Mercurial > sdl-ios-xcode
comparison include/SDL.h @ 2713:0906692aa6a4
Final merge of Google Summer of Code 2008 work...
Force Feedback for SDL
by Edgar Simo, mentored by Ryan C. Gordon
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 25 Aug 2008 09:55:03 +0000 |
parents | c9aa6bcb26f3 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
2712:c4e697245676 | 2713:0906692aa6a4 |
---|---|
102 /* As of version 0.5, SDL is loaded dynamically into the application */ | 102 /* As of version 0.5, SDL is loaded dynamically into the application */ |
103 | 103 |
104 /* These are the flags which may be passed to SDL_Init() -- you should | 104 /* These are the flags which may be passed to SDL_Init() -- you should |
105 specify the subsystems which you will be using in your application. | 105 specify the subsystems which you will be using in your application. |
106 */ | 106 */ |
107 #define SDL_INIT_TIMER 0x00000001 | 107 #define SDL_INIT_TIMER 0x00000001 |
108 #define SDL_INIT_AUDIO 0x00000010 | 108 #define SDL_INIT_AUDIO 0x00000010 |
109 #define SDL_INIT_VIDEO 0x00000020 | 109 #define SDL_INIT_VIDEO 0x00000020 |
110 #define SDL_INIT_CDROM 0x00000100 | 110 #define SDL_INIT_CDROM 0x00000100 |
111 #define SDL_INIT_JOYSTICK 0x00000200 | 111 #define SDL_INIT_JOYSTICK 0x00000200 |
112 #define SDL_INIT_NOPARACHUTE 0x00100000 /* Don't catch fatal signals */ | 112 #define SDL_INIT_HAPTIC 0x00001000 |
113 #define SDL_INIT_EVENTTHREAD 0x01000000 /* Not supported on all OS's */ | 113 #define SDL_INIT_NOPARACHUTE 0x00100000 /* Don't catch fatal signals */ |
114 #define SDL_INIT_EVERYTHING 0x0000FFFF | 114 #define SDL_INIT_EVENTTHREAD 0x01000000 /* Not supported on all OS's */ |
115 #define SDL_INIT_EVERYTHING 0x0000FFFF | |
115 | 116 |
116 /* This function loads the SDL dynamically linked library and initializes | 117 /* This function loads the SDL dynamically linked library and initializes |
117 * the subsystems specified by 'flags' (and those satisfying dependencies) | 118 * the subsystems specified by 'flags' (and those satisfying dependencies) |
118 * Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup | 119 * Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup |
119 * signal handlers for some commonly ignored fatal signals (like SIGSEGV) | 120 * signal handlers for some commonly ignored fatal signals (like SIGSEGV) |