diff -r ffa851df0825 -r 2fb8b9db1c86 symbian-qemu-0.9.1-12/libsdl-trunk/docs/html/sdlinitsubsystem.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/symbian-qemu-0.9.1-12/libsdl-trunk/docs/html/sdlinitsubsystem.html Fri Jul 31 15:01:17 2009 +0100 @@ -0,0 +1,283 @@ +
After SDL has been initialized with SDL_Init you may initialize uninitialized subsystems with SDL_InitSubSystem. The flags parameter is the same as that used in SDL_Init.
/* Seperating Joystick and Video initialization. */ +SDL_Init(SDL_INIT_VIDEO); +. +. +SDL_SetVideoMode(640, 480, 16, SDL_DOUBLEBUF|SDL_FULLSCREEN); +. +/* Do Some Video stuff */ +. +. +/* Initialize the joystick subsystem */ +SDL_InitSubSystem(SDL_INIT_JOYSTICK); + +/* Do some stuff with video and joystick */ +. +. +. +/* Shut them both down */ +SDL_Quit();