On Sunday 07 September 2003 9:41, �var Arnfj�r� Bjarmason wrote:
> On Sun, 2003-09-07 at 17:12, Frank Murphy wrote:
>
> > I've looked at what you have, and I have a couple of points for you. The
> > first is with the difference between Mode_switch and ISO_Level3_Shift.
> > The old-style Xkb keymaps used Mode_switch to get to the third symbol
> > engraved on the keys. The new-style use ISO_Level3_Shift. The new-style
> > are located in xc/programs/xkbcomp/symbols/pc. The main difference is
> > that each key is defined in a single group, as opposed to using two
> > groups. You should do the iceland keymap in the new style.
> >
> > Instead of this:
> >
> > include "ralt(mode_switch)"
> > ...
> > key <AE09> {        [         9,    parenright      ],
> >                     [ bracketright, plusminus       ]       };
> >
> > Do this:
> >
> > include "level3"
> > ...
> > key <AE09> { [ 9, parenright, bracketright, plusminus ] };
> >
> > Frank
>
> It's not my code, it's just things i copied from the existing keycode
> directories to use as reference, however the point is well taken, the
> later coding style makes mutch more sense than the first one.
>
> another thing i want to know is everything releated to how i should make
> this. when to use <AE and when to use <AB and so on as well as what do
> the commas inside the []'s stand for, the first one 9, is just regular
> keypress, the second is shift+key third is altgr+key and i dont know
> what the third is.

<AExx> and <ABxx> are different keys -- alphanumeric rows E and and B 
respectively. The commas are to separate the different shift levels. 9 is a 
simple keypress, parenright is Shift+9, bracketright is ISO_Level3_Shift+9, 
and pluminus is Shift+ISO_Level3_Shift+9. In order to make bracketright be 
from the AltGr+9, you have to assign RALT to ISO_Level3_Shift.

> Even better than you telling me all this. Is there some documentation
> about all of this that i can read?

Kinda. http://www.charvolant.org/~doug/xkb/ is the best. It's online right 
now, but the site has been flakey, so you might want to download the docs.

> And excuse my poor english

Excuse my poor Icelandic. :)

Frank


_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to