[SDL] SDLKey wiki question

Sam Lantinga slouken at devolution.com
Thu Feb 14 03:31:14 PST 2008


> I must have read it wrong, but as I read it its impossible to check whether 
> the '1' is pressed on a french keyboard.

That's correct with SDL 1.2, since technically there is no "1" key.

However, with SDL 1.3 we're introduced the concept of scancodes which
represent layout independent key representation.  You can check out a
sneak preview here:
http://www.libsdl.org/tmp/SDL-1.2.zip

You can build the checkkeys test program and try it ouf, if you like.

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


More information about the SDL mailing list