Hide ClearGrab/CloseGrabs actions behind an option
[xorg/xkeyboard-config] / symbols / macintosh_vndr / fr
1 // Marc.Shapiro@inria.fr 19-sep-1998
2 // modifications : Etienne Herlent <eherlent@linux-france.org> june 2000
3 // adapted to the new input layer :
4 //        Martin Costabel <costabel@wanadoo.fr> 3-jan-2001
5 //////////////////////////////////////////////////////////////////
6 // Petites Modification le juillet 2005 par Bin Zhang <bb.zhang@free.fr> : 
7 // 1) La ligne 83 : remplacer les deux "VoidSymbol" par oe et OE 
8 // 2) La ligne 89 : remplacer "VoidSymbol" par "EuroSign"
9 // ( 1) et 2) fonctionnent sous UTF-8, mais pas sous iso-8859-1. )
10 // 3) Remplacer la ligne 148 par la ligne 149 pour que la touche Alt_L
11 // (la touche Apple-Pomme) fonctionne correctement sous Xorg, une idée
12 // motivée par http://www.linux-france.org/macintosh/clavier_gentoo.html
13 //////////////////////////////////////////////////////////////////
14 // This map is an almost-complete mapping of the standard French
15 // MacIntosh keyboard under Xwindows.  I tried to remain as faithful
16 // as possible to the Mac meaning of each key.  I did this entirely by
17 // hand and by intuition, relying on the Clavier (Keyboard?) Desktop
18 // Accessory for the Mac meaning of keys, and on reading keysymdef.h
19 // to intuit the corresponding X names.  Lacking proper documentation,
20 // I may have made some mistakes.
21
22 // Entries marked CHECK are particularly uncertain
23
24 // Entries marked MISSING mark Mac characters for which I was unable
25 // to find a corresponding keysym.  (Some for sure don't: e.g. the
26 // Apple mark and the oe/OE character; others I may have simply not
27 // found.)
28
29 default
30 xkb_symbols "extended" {
31
32     name[Group1]= "France - Mac";
33
34     key <ESC>  {        [ Escape                        ]       };
35
36     // Alphanumeric section
37     key <TLDE> {        [          at,    numbersign,   periodcentered,         Ydiaeresis      ]       };
38     key <ENTR> {        [    KP_Enter                   ]       };
39     key <AE01> {        [   ampersand,    1,            VoidSymbol,             dead_acute      ]       }; // MISSING: Apple
40     key <AE02> {        [      eacute,    2,            ediaeresis,             Eacute  ]       };
41     key <AE03> {        [    quotedbl,    3,            leftdoublequotemark,    rightdoublequotemark    ]       };
42     key <AE04> {        [  apostrophe,    4,            leftsinglequotemark,    rightsinglequotemark    ]       };
43     key <AE05> {        [   parenleft,    5,            braceleft,              bracketleft     ]       };
44     key <AE06> {        [     section,    6,            paragraph,              aring           ]       };
45     key <AE07> {        [      egrave,    7,            guillemotleft,          guillemotright] };
46     key <AE08> {        [      exclam,    8,            exclamdown,             Ucircumflex     ]       };
47     key <AE09> {        [    ccedilla,    9,            Ccedilla,               Aacute  ]       };
48     key <AE10> {        [      agrave,    0,            oslash,                 Oslash  ]       };
49     key <AE11> {        [  parenright,    degree,       braceright,             bracketright    ]       };
50     key <AE12> {        [       minus,    underscore,   emdash,                 endash  ]       };
51     key <BKSP> {        [   BackSpace,    VoidSymbol,   Delete,                 VoidSymbol      ]       };
52
53     key  <TAB> {        [         Tab,  ISO_Left_Tab    ]       };
54     key <AD01> {        [           a,  A,              ae,                     AE              ]       };
55     key <AD02> {        [           z,  Z,              Acircumflex,            Aring           ]       };
56     key <AD03> {        [           e,  E,              ecircumflex,            Ecircumflex     ]       };
57     key <AD04> {        [           r,  R,              registered,             currency        ]       };
58     key <AD05> {        [           t,  T,              dagger,                 trademark       ]       };
59     key <AD06> {        [           y,  Y,              Uacute,                 Ydiaeresis      ]       };
60     key <AD07> {        [           u,  U,              masculine,              ordfeminine     ]       };
61     key <AD08> {        [           i,  I,              icircumflex,            idiaeresis      ]       };
62     key <AD09> {        [           o,  O,              oe,                     OE              ]       };
63     key <AD10> {        [           p,  P,              Greek_pi,               Greek_PI        ]       };
64     key <AD11> {        [dead_circumflex,dead_diaeresis,ocircumflex,            Ocircumflex     ]       };
65     key <AD12> {        [      dollar,  asterisk,       EuroSign,               yen             ]       };
66     key <CAPS> {        [       Caps_Lock               ]       };
67     key <AC01> {        [         q,    Q,              doubledagger,           Greek_OMEGA     ]       };
68     key <AC02> {        [         s,    S,              Ograve,                 Greek_SIGMA     ]       };
69     key <AC03> {        [         d,    D,              Greek_delta,            Greek_DELTA     ]       };
70     key <AC04> {        [         f,    F,              VoidSymbol,             periodcentered  ]       };
71     key <AC05> {        [         g,    G,              VoidSymbol,             VoidSymbol      ]       }; // MISSING: ligature fi,fl
72     key <AC06> {        [         h,    H,              Igrave,                 Icircumflex     ]       };
73     key <AC07> {        [         j,    J,              Idiaeresis,             Iacute          ]       };
74     key <AC08> {        [         k,    K,              Egrave,                 Ediaeresis      ]       };
75     key <AC09> {        [         l,    L,              notsign,                bar             ]       };
76     key <AC10> {        [         m,    M,              mu,                     Oacute          ]       };
77     key <AC11> {        [    ugrave,    percent,        Ugrave,                 0x1002030       ]       };
78     key <BKSL> {        [ dead_grave,   sterling,       at,                     numbersign      ]       };
79     key <RTRN> {        [    Return                     ]       };
80
81     key <LSGT> {        [        less,    greater,      lessthanequal,          greaterthanequal        ]       };
82     key <AB01> {        [         w,    W,              guilsinglleft,          guilsinglright  ]       }; // MISSING: half-guillemot (single angle bracket)
83     key <AB02> {        [         x,    X,              VoidSymbol,             VoidSymbol      ]       }; // CHECK: similarequal; MISSING: extra-slanted slash
84     key <AB03> {        [         c,    C,              copyright,              cent            ]       };
85     key <AB04> {        [         v,    V,              diamond,                radical         ]       }; // CHECK diamond
86     key <AB05> {        [         b,    B,              ssharp,                 integral        ]       };
87     key <AB06> {        [         n,    N,              dead_tilde,             asciitilde      ]       };
88     key <AB07> {        [     comma,    question,       infinity,               questiondown    ]       };
89     key <AB08> {        [ semicolon,    period,         ellipsis,               periodcentered  ]       };
90     key <AB09> {        [     colon,    slash,          division,               backslash       ]       };
91     key <AB10> {        [     equal,    plus,           notequal,               plusminus       ]       };
92
93     key <SPCE> {        [     space,    space,          nobreakspace,           nobreakspace    ]       };
94     // End alphanumeric section
95
96     include "level3(ralt_switch)"
97 };
98
99
100
101 xkb_symbols "nodeadkeys" {
102 include "macintosh_vndr/fr(extended)"
103     name[Group1]= "France - Mac, eliminate dead keys";
104     
105     key <AE01> {        [   ampersand,    1,            VoidSymbol,             acute   ]       }; // MISSING: Apple
106     key <AD11> {        [asciicircum,diaeresis,ocircumflex,             Ocircumflex     ]       };
107     key <BKSL> {        [ grave,        sterling,       at,                     numbersign      ]       };
108
109     key <AB06> {        [         n,    N,              asciitilde,             dead_tilde      ]       };
110 };