[SDL] no keyboard attached -> error
tsm at accesscomm.ca
Mon Sep 19 07:56:26 PDT 2005
On September 19, 2005 08:03 am, johannes raggam wrote:
> hello again,
> again this question,
> an sdl based application won't start without a keyboard attached. there
> must be an error in the sdl-library.
> i have to check it soon, but i think that
> initializes the keyboard. and if no keyboard is present, the library
> will produce an error and prevent the application from starting.
> maybe anyone knows the sdl functions in detail and can give me a hint.
> and when i find the solution i will post it here.
Video drivers and keyboard events -- in fact, all events -- are indeed closely
linked in SDL. For svgalib check out src/video/svga/SDL_svgaevents.c.
Maybye you can disable keyboard handling with #ifdefs, or better, checking an
environment variable with getenv?
More information about the SDL