Under WIN32: DirectInput or normal event queue?

When (under Win32) I initialize SDL with:

SDL_Init (SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_FULLSCREEN | SDL_INIT_JOYSTICK);

the event queue passes through DirectInput or
through the normal winapi events handling ?

If it defaults to DirectInput, how can I make it
use the normal mode ?

Thanks,
Enzo.

When (under Win32) I initialize SDL with:

SDL_Init (SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_FULLSCREEN |
SDL_INIT_JOYSTICK);

the event queue passes through DirectInput or
through the normal winapi events handling ?

Video & event stuff are tied pretty closely. IIRC, sdl tries to init DX
(and thus DI) first, and then falls back to the regular dib stuff if
that fails. Have a look through the src/video (I think SDL_video.c) code
and you’ll find the definitive answer.

If it defaults to DirectInput, how can I make it
use the normal mode ?

You can find an example here.
http://www.maccormack.net/~djm/sdl_win32_demo/

Dave

:wq (damnit!)On Mon, 19 Nov 2001, Enzo wrote:


David MacCormack
@David_MacCormack

In the land of Redmond, where the Windows lie.
One OS to rule them all, One OS to find them,
One OS to bring them all and in the darkness bind them.
In the land of Redmond, where the Windows lie.