[SDL] SDL_GetNamedKeymap()?
Mark Schreiber
mark7 at alumni.cmu.edu
Thu Oct 7 10:57:46 PDT 2004
Is there any objection to adding an SDL_GetNamedKeysym() function to
SDL12 that would perform the inverse of SDL_GetKeyName()?
This would be useful when reading key binding config files -- it
allows developers to use the SDL keynames.
Currently, applications can get similar functionality by extracting
all the names from SDL_GetKeyName() in a loop and then doing the
reverse mapping themselves, but that's a bit of a hack...
--
Best of luck,
Mark Schreiber
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20041007/bccdfc3f/attachment.pgp>
More information about the SDL
mailing list