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,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the SDL