[SDL] SDL 1.3: Keyboard layout handling

greno greno at verizon.net
Fri May 27 12:22:19 PDT 2011


When I press lowercase 'g' I see this:

Code:
Press:- Scancode: 0x0A, Name: G, Unicode: g (0x0067)
Modifers: None
Release:- Scancode: 0x0A, Name: G
Modifers: None


The keysym is uppercase 'g' and the Unicode is lowercase 'g'.  ????

When I press Return I see this:

Code:
 (0x000D)cancode: 0x28, Name: Return, Unicode: 
Modifers: None
Release:- Scancode: 0x28, Name: Return
Modifers: None



Also, whatever the Unicode string is for Return it is causing weirdness with printf.

.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110527/7480d4e4/attachment.htm>


More information about the SDL mailing list