[quake3] international keyboard support (revisited)

Tony J. White tjw at webteam.net
Fri Feb 9 15:49:05 EST 2007


On Fri, Feb 09, 2007 at 08:50:50PM +0100, Erik Kloppenburg wrote:
> I would like a patch that only adds shift + escape and leaves the rest alone :) 
> (so ~ would still work and the possible incompatible things not in it). But I 
> guess I would be able to change that in your patch myself.

The behaviour of ~ is not changed by this patch, only an additional bind is
added for Shift-Esc.

The only difference with ~ is that SDL handles it differently as of 1.2.10
for keyboard layouts that recognize it as a "Dead Key":

http://en.wikipedia.org/wiki/Dead_key

-Tony


> 
> Daniel Lord wrote:
> >Tony,
> >Since the application and operating system are different, the binds
> >will be in separate places so you are just extending a feature in a
> >compatible way. As long as it doesn't create incompatibilities in the
> >code anywhere. If people feel strongly about that, they should buy a
> >Mac (just kidding--no flames please!)
> >On 2/9/07, Tony J. White <tjw at webteam.net> wrote:
> >>
> >>https://bugzilla.icculus.org/show_bug.cgi?id=2741
> >>
> >>Discussion of this hasn't brought up any compelling reason not to add the
> >>Shift-Esc toggleConsole bind (that I noticed).
> >>
> >>It seems that most of the confusion about using the '~' character on
> >>many international keyboards stems from SDL's recent change in "Dead Key"
> >>handling.  For example, I think keying Shift-Esc on a .de keyboard will
> >>be preferred over typing "AltGr-'+' SpaceBar" for those who know about it.
> >>Also, it gives an easy way to explain how to open the console in-game.
> >>Shift-Esc is much easier to communicate than trying to tell someone to
> >>type a key that you can't type in the game and then explaining to them
> >>that they may or may not need to type a space after it.
> >>
> >>My latest patch also adds a new section to the README called
> >>"SDL Keyboard Differences" which explains this and other SDL-specific
> >>differences.
> >>
> >>On another note, I've added Christophe's additional key support code
> >>to my latest patch.  This supports all the SDLK_WORLD keys as well as
> >>a several other keys not otherwise supported like "SCROLLLOCK", "SYSREQ",
> >>"WINDOWS", "F13", "F14", "F15", and a few others.  This may be
> >>controversial since it will allow people to set up binds with the
> >>SDL client that will not be compatible with the win32 ioquake3 client or
> >>id Quake3.  Thoughts?
> >>
> >>-Tony
> >>
> >>

-- 



More information about the quake3 mailing list