[SDL] sdl 1.2 swapped key codes

Vittorio Giovara vittorio.giovara at gmail.com
Wed Mar 20 01:28:40 PDT 2013


On Sun, Mar 17, 2013 at 7:50 PM, Vittorio Giovara <
vittorio.giovara at gmail.com> wrote:

> So I know that for SDL 2.0 there is the possibility of checking scancodes
> and be sure that the key event won't show up virtual or remapped keys.
> This is especially important for non-US keyboards (off the top of my head
> German and Italian keyboards swap W and Z).
>
> What about SDL-1.2? Is there no way to trust the event.keysym.sym content
> at all?
>
> Googling around I found these two discussion and apparently the only
> solution is to move to SDL-2
>
> http://sdl.5483.n7.nabble.com/Getting-key-name-based-on-current-layout-td15964.html
>
> http://forums.libsdl.org/viewtopic.php?t=4249&sid=bc936aa91a5d8cb34d3acc9d02b9a627
>
> Can anyone confirm this, or propose alternatives?
>

Silence assent or mailing list problem?
Vittorio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130320/50eeb7d3/attachment-0009.htm>


More information about the SDL mailing list