[SDL] Problem with uppercase characters.

Bill Conan billconan at gmail.com
Sat Jan 6 10:21:20 PST 2007


hi guys,

i'm trying to write a simple gui system with sdl and opengl. but i get
trouble with uppercase character inputing ( a text field ).

i use "event.key.keysym.unicode" and "event.key.keysym.mod " (SDL_Event
event;) to get the unicode and modifier.

but every time i press left shift, the modifier is 4096 and the unicode is
always 0.

so, how can i deal with this. why the unicode is always zero?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070107/f558bcf0/attachment.html 


More information about the SDL mailing list