* Melchior FRANZ -- Tuesday 25 April 2006 22:39:
> This should work:
[...]
> +#if SDL_VERSION_ATLEAST(1, 2, 10)
[...]

Consdider this a message from the future. Not only is SDL 1.2.10 not
yet released, but what comes closest (SDL/SVN/HEAD) has keyboard
support intentionallly broken and is currently unusable for us.

When pressing and releasing Shift-[ == { one does now get a different
answer:

           1.2.9           1.2.10/cvs
  ====================================
  {        0 303 1         0 303 1       right shift press
           123 91 1        123 91 1      [ press
           123 91 0        0 91 0        [ release
           0 303 0         0 303 0       right shift release

That is: '{' (123) is only reported on pressing, but no longer on
releasing, in which case we get just Shift-[ (91). This is so that
one can easier write text editors for Asian languages, or something.
Looks like we'll have to work around this features now. Lots of fun.

And from now on I won't defend SDL any more.   :-}

m.


PS: yes, SDL is now in SVN:   $ svn co svn://libsdl.org/trunk/SDL


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to