[SDL] Non US keyboards....

Mikael Aronsson mikael_aronsson at mail.bip.net
Mon Jun 25 03:15:33 PDT 2001


Hi !

As SDL is at the moment it does not work with most non US keyboard, ok
sorry, it does work fine with US keys of course, but it does not work with
characters used in other languages like Swedish, German, French and so on.

Are there any plans to support this in the future ?

At the moment the SDL_GetKeyName() is hardcoded for US keys and some others,
most platforms has functions for doing key to keyname conversion builtin (at
least Win32 and Xlib has it), would it be possible to use these functions
instead, then non US keys would be translated as they should.

Yes I know that SDL is intended for games which usually does not have any
need for this stuff, but SDL is very flexible and can be used for lots of
other stuff to so I think it would be useful, one example is that there are
a number of GUI libraries being implemented using SDL.

Mikael





More information about the SDL mailing list