// // Copyright (C) 2004, Benjamin Herrenschmidt // // This xkb file describes the differences between a Macintosh US Extended // keymap and an French keyboard layout in the style of Mac OS(X). partial default alphanumeric_keys xkb_symbols "basic" { name[Group1]= "French"; // Alphanumeric section key { [ less, greater ] }; key { [ at, numbersign, periodcentered ] }; key { [ ampersand, 1, dead_acute, dead_acute ] }; key { [ eacute, 2 ] }; key { [ quotedbl, 3 ] }; key { [ quoteright, 4, quoteleft ] }; key { [ parenleft, 5, braceleft, bracketleft ] }; key { [ section, 6, paragraph ] }; key { [ egrave, 7, guillemotleft, guillemotright ] }; key { [ exclam, 8, exclamdown, Ucircumflex ] }; key { [ ccedilla, 9, Ccedilla, Aacute ] }; key { [ agrave, 0, oslash, Ooblique ] }; key { [ parenright, degree, braceright, bracketright ] }; key { [ minus, underscore ] }; key { [ a, A, ae, AE ] }; key { [ z, Z, Acircumflex, Aring ] }; key { [ e, E, ecircumflex, Ecircumflex ] }; key { [ r, R, registered, currency ] }; key { [ t, T ] }; key { [ y, Y, Uacute, ydiaeresis ] }; key { [ u, U ] }; key { [ i, I, icircumflex, idiaeresis ] }; key { [ o, O ] }; key { [ p, P ] }; key { [ dead_circumflex, dead_diaeresis, ocircumflex, Ocircumflex ] }; key { [ dollar, asterisk, comma, yen ] }; key { [ dead_grave, sterling, at, numbersign ] }; key { [ q, Q, acircumflex, Acircumflex ] }; key { [ s, S, Ograve, S ] }; key { [ d, D ] }; key { [ f, F, f, periodcentered ] }; key { [ g, G ] }; key { [ h, H, Igrave, Icircumflex ] }; key { [ j, J, Idiaeresis, Iacute ] }; key { [ k, K, Egrave, Ediaeresis ] }; key { [ l, L, ssharp, bar ] }; key { [ m, M, mu, Oacute ] }; key { [ ugrave, percent, Ugrave, ucircumflex ] }; key { [ Return, Return, hyphen, hyphen ] }; key { [ w, W ] }; key { [ x, X ] }; key { [ c, C, copyright, copyright ] }; key { [ v, V ] }; key { [ b, B ] }; key { [ n, N, dead_tilde ] }; key { [ comma, question, at, questiondown ] }; key { [ semicolon, period ] }; key { [ colon, slash, division, backslash ] }; key { [ equal, plus, macron, plusminus ] }; // End alphanumeric section key { [ KP_Separator, KP_Delete ] }; // Special keys and modifiers // key { [ Shift_L ] }; // key { [ Shift_R ] }; // key { [ Control_L ] }; // key { [ Control_R ] }; // key { [ Alt_L, Alt_R ] }; // key { [ Alt_R ] }; // key { [ Meta_L, Meta_R ] }; // key { [ Meta_R ] }; // And now to map those modifiers ... // modifier_map Shift { Shift_L , Shift_R }; // modifier_map Lock { Caps_Lock }; // modifier_map Control{ Control_L, Control_R }; // modifier_map Mod1 { Alt_L, Alt_R }; // modifier_map Mod2 { Num_Lock }; // modifier_map Mod4 { Meta_L, Meta_R }; // modifier_map Mod5 { Scroll_Lock }; include "level3(lalt_switch)" };