[SDL] Entering usernames while in SDL window

Sam Lantinga slouken at devolution.com
Thu Jul 11 15:02:00 PDT 2002

> Here is what we use in freedroid (freedroid.sourceforge.net):
> You can see if in action there and judge if that is what you would like 
> to have.

There is actually a better way.  Turn on UNICODE translation with
SDL_EnableUNICODE(), and then look at the 'unicode' member of the
key event.  Look at the checkkeys test program in the SDL source
archive, if you want to see an example of this.

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

More information about the SDL mailing list