[SDL] Reading text from keyboard

Sam Lantinga slouken at devolution.com
Sat Jan 18 10:45:00 PST 2003


> Hi

> Thanks for everybody's help, the code works now but it's pretty weird. If a
> call SDL_EnableUNICODE(1) when I initialize my programm it doesen't work,
> but if I call the function every frame it does. I don't know what's the
> problem, but I'm happy that it finally works :)

You need to call the function after you set the video mode, that's all.

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list