Keyboard, capital letters and symbols

I’m sure this is a common thing to do in SDL yet I
can’t find information elsewhere. How can I use
keysym.mod and keysym.sym to generate symbols that are
accessed with the shift key? And since SDLKey
defines SDLK_* macros for all these symbols, SDL must
generate these symbols itself, right? Surely, I
shouldn’t have to do something like testing for the
number ‘8’ and then use the modifier state to
explicitly change it to ‘*’. What’s the more sane way?__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

SDL_EnableUNICODE(1);On Saturday 23 October 2004 02:16 pm, Neal Maultsby wrote:

I’m sure this is a common thing to do in SDL yet I
can’t find information elsewhere. How can I use
keysym.mod and keysym.sym to generate symbols that are
accessed with the shift key? And since SDLKey
defines SDLK_* macros for all these symbols, SDL must
generate these symbols itself, right? Surely, I
shouldn’t have to do something like testing for the
number ‘8’ and then use the modifier state to
explicitly change it to ‘*’. What’s the more sane way?