[SDL] SDL and language dependent keys

Ryan C. Gordon icculus at clutteredmind.org
Tue Aug 7 13:27:00 PDT 2001


> E.g. I need to know when a german umlaut, like ö (<-german umlaut :-) ), is
> pressed. In pure X this could be the code XK_odiaeresis. which is the
> equivalent in the SDLKey definition? Or must I use the scancode or the
> unicode field in the SDL_keysym structure to detect this character.

They should come up as SDL_WORLD_nn. Take a look at
SDL12/include/SDL_keysym.h ... You'll have to test and see which one it
is.

--ryan.






More information about the SDL mailing list