[SDL] SDL_WaitEvent() & SDL_SetVideoMode()

Clemens Kirchgatterer clemens at thf.ath.cx
Sun Feb 9 13:35:02 PST 2003


Sam Lantinga <slouken at devolution.com> wrote:

> > ok, thx. do you think it is possible to read the keybord by myself,
> > bypassing the sdl event handling? i only need keydown events. and
> > the code does not need to be portable, it just has to work somehow
> > on linux.
> 
> Sure, if you're just using stdin, you can use getch() as long as you
> set the terminal mode to character-at-a-time input.  This is beyond
> the scope of the SDL mailing list though.

good. i will be able to work that out - hopefully! :) thanx for your
input.

re ...
clemens




More information about the SDL mailing list