[SDL] Problem with uppercase characters.
Alan Wolfe
Atrix2 at cox.net
Sat Jan 6 10:25:27 PST 2007
Did you do SDL_EnableUnicode(1)?
I'm pretty sure that's the function name but I can't verify it - libsdl.org
seems to be down for maintenance at the moment.
_____
From: sdl-bounces+atrix2=cox.net at libsdl.org
[mailto:sdl-bounces+atrix2=cox.net at libsdl.org] On Behalf Of Bill Conan
Sent: Saturday, January 06, 2007 10:21 AM
To: sdl at libsdl.org
Subject: [SDL] Problem with uppercase characters.
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/20070106/6df9374b/attachment.htm
More information about the SDL
mailing list