| 1 |
// [email protected] 19-sep-1998 |
| 2 |
// modifications : Etienne Herlent <[email protected]> june 2000 |
| 3 |
// adapted to the new input layer : |
| 4 |
// Martin Costabel <[email protected]> 3-jan-2001 |
| 5 |
////////////////////////////////////////////////////////////////// |
| 6 |
// Petites Modification le juillet 2005 par Bin Zhang <[email protected]> : |
| 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]= "French (Macintosh)"; |
| 33 |
|
| 34 |
key <TLDE> { [ at, numbersign, periodcentered, ydiaeresis ] }; |
| 35 |
key <AE01> { [ ampersand, 1, VoidSymbol, dead_acute ] }; // MISSING: Apple |
| 36 |
key <AE02> { [ eacute, 2, ediaeresis, Eacute ] }; |
| 37 |
key <AE03> { [ quotedbl, 3, leftdoublequotemark, rightdoublequotemark ] }; |
| 38 |
key <AE04> { [ apostrophe, 4, leftsinglequotemark, rightsinglequotemark ] }; |
| 39 |
key <AE05> { [ parenleft, 5, braceleft, bracketleft ] }; |
| 40 |
key <AE06> { [ section, 6, paragraph, aring ] }; |
| 41 |
key <AE07> { [ egrave, 7, guillemotleft, guillemotright] }; |
| 42 |
key <AE08> { [ exclam, 8, exclamdown, Ucircumflex ] }; |
| 43 |
key <AE09> { [ ccedilla, 9, Ccedilla, Aacute ] }; |
| 44 |
key <AE10> { [ agrave, 0, oslash, Oslash ] }; |
| 45 |
key <AE11> { [ parenright, degree, braceright, bracketright ] }; |
| 46 |
key <AE12> { [ minus, underscore, emdash, endash ] }; |
| 47 |
|
| 48 |
key <AD01> { [ a, A, ae, AE ] }; |
| 49 |
key <AD02> { [ z, Z, Acircumflex, Aring ] }; |
| 50 |
key <AD03> { [ e, E, ecircumflex, Ecircumflex ] }; |
| 51 |
key <AD04> { [ r, R, registered, currency ] }; |
| 52 |
key <AD05> { [ t, T, dagger, trademark ] }; |
| 53 |
key <AD06> { [ y, Y, Uacute, Ydiaeresis ] }; |
| 54 |
key <AD07> { [ u, U, masculine, ordfeminine ] }; |
| 55 |
key <AD08> { [ i, I, icircumflex, idiaeresis ] }; |
| 56 |
key <AD09> { [ o, O, oe, OE ] }; |
| 57 |
key <AD10> { [ p, P, Greek_pi, Greek_PI ] }; |
| 58 |
key <AD11> { [dead_circumflex,dead_diaeresis,ocircumflex, Ocircumflex ] }; |
| 59 |
key <AD12> { [ dollar, asterisk, EuroSign, yen ] }; |
| 60 |
|
| 61 |
key <AC01> { [ q, Q, doubledagger, Greek_OMEGA ] }; |
| 62 |
key <AC02> { [ s, S, Ograve, Greek_SIGMA ] }; |
| 63 |
key <AC03> { [ d, D, Greek_delta, Greek_DELTA ] }; |
| 64 |
key <AC04> { [ f, F, U0192, periodcentered ] }; // ƒ · |
| 65 |
key <AC05> { [ g, G, UFB01, UFB02 ] }; // fi fl |
| 66 |
key <AC06> { [ h, H, Igrave, Icircumflex ] }; |
| 67 |
key <AC07> { [ j, J, Idiaeresis, Iacute ] }; |
| 68 |
key <AC08> { [ k, K, Egrave, Ediaeresis ] }; |
| 69 |
key <AC09> { [ l, L, notsign, bar ] }; |
| 70 |
key <AC10> { [ m, M, mu, Oacute ] }; |
| 71 |
key <AC11> { [ ugrave, percent, Ugrave, permille ] }; |
| 72 |
key <BKSL> { [ dead_grave, sterling, at, numbersign ] }; |
| 73 |
|
| 74 |
key <LSGT> { [ less, greater, lessthanequal, greaterthanequal] }; |
| 75 |
key <AB01> { [ w, W, U2039, U203A ] }; // ‹ › |
| 76 |
key <AB02> { [ x, X, similarequal, U2044 ] }; // ≃ ⁄ |
| 77 |
key <AB03> { [ c, C, copyright, cent ] }; |
| 78 |
key <AB04> { [ v, V, diamond, radical ] }; // CHECK diamond |
| 79 |
key <AB05> { [ b, B, ssharp, integral ] }; |
| 80 |
key <AB06> { [ n, N, dead_tilde, asciitilde ] }; |
| 81 |
key <AB07> { [ comma, question, infinity, questiondown ] }; |
| 82 |
key <AB08> { [ semicolon, period, ellipsis, periodcentered ] }; |
| 83 |
key <AB09> { [ colon, slash, division, backslash ] }; |
| 84 |
key <AB10> { [ equal, plus, notequal, plusminus ] }; |
| 85 |
|
| 86 |
key <SPCE> { [ space, space, nobreakspace, nobreakspace ] }; |
| 87 |
|
| 88 |
include "level3(ralt_switch)" |
| 89 |
}; |
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
xkb_symbols "nodeadkeys" { |
| 94 |
include "macintosh_vndr/fr(extended)" |
| 95 |
name[Group1]= "French (Macintosh, no dead keys)"; |
| 96 |
|
| 97 |
key <AE01> { [ ampersand, 1, VoidSymbol, acute ] }; // MISSING: Apple |
| 98 |
key <AD11> { [asciicircum,diaeresis,ocircumflex, Ocircumflex ] }; |
| 99 |
key <BKSL> { [ grave, sterling, at, numbersign ] }; |
| 100 |
|
| 101 |
key <AB06> { [ n, N, asciitilde, dead_tilde ] }; |
| 102 |
}; |