• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
29default
30xkb_symbols "extended" {
31
32    name[Group1]= "France - Mac";
33
34    key <ESC>  {	[ Escape			]	};
35
36    key <TLDE> {	[	   at,	  numbersign,	periodcentered,  	Ydiaeresis	]	};
37    key <ENTR> {        [    KP_Enter                   ]       };
38    key <AE01> {	[   ampersand,	  1,	  	VoidSymbol,	  	dead_acute	]	}; // MISSING: Apple
39    key <AE02> {	[      eacute,	  2,		ediaeresis,	  	Eacute	]	};
40    key <AE03> {	[    quotedbl,	  3,		leftdoublequotemark, 	rightdoublequotemark	] 	};
41    key <AE04> {	[  apostrophe,	  4,		leftsinglequotemark, 	rightsinglequotemark	] 	};
42    key <AE05> {	[   parenleft,	  5,		braceleft,	  	bracketleft	]	};
43    key <AE06> {	[     section,	  6,		paragraph,	  	aring		]	};
44    key <AE07> {	[      egrave,	  7,		guillemotleft,	  	guillemotright]	};
45    key <AE08> {	[      exclam,	  8,		exclamdown,	  	Ucircumflex	]	};
46    key <AE09> {	[    ccedilla,	  9,		Ccedilla,	  	Aacute	]	};
47    key <AE10> {	[      agrave,	  0,		oslash,	  		Oslash	]	};
48    key <AE11> {	[  parenright,	  degree,	braceright,	  	bracketright	]	};
49    key <AE12> {	[	minus,	  underscore,	emdash,	  		endash	]	};
50    key <BKSP> {	[   BackSpace,    VoidSymbol,	Delete,	  		VoidSymbol	]	};
51
52    key	 <TAB> {	[	  Tab,	ISO_Left_Tab	]	};
53    key <AD01> {	[	    a,	A,		ae,			AE		]	};
54    key <AD02> {	[	    z,	Z,		Acircumflex,		Aring		]	};
55    key <AD03> {	[	    e,	E,		ecircumflex,		Ecircumflex	]	};
56    key <AD04> {	[	    r,	R,		registered,		currency	]	};
57    key <AD05> {	[	    t,	T,		dagger,			trademark	]	};
58    key <AD06> {	[	    y,	Y,		Uacute,  		Ydiaeresis	]	};
59    key <AD07> {	[	    u,	U,		masculine,		ordfeminine	]	};
60    key <AD08> {	[	    i,	I,		icircumflex,		idiaeresis	]	};
61    key <AD09> {	[	    o,	O,		oe,			OE		]	};
62    key <AD10> {	[	    p,	P,		Greek_pi,  		Greek_PI	]	};
63    key <AD11> {	[dead_circumflex,dead_diaeresis,ocircumflex, 		Ocircumflex	]	};
64    key <AD12> {	[      dollar,	asterisk,	EuroSign,  		yen   	        ]	};
65    key <CAPS> {	[	Caps_Lock		]	};
66    key <AC01> {	[	  q,	Q,		doubledagger,		Greek_OMEGA	]	};
67    key <AC02> {	[	  s,	S,		Ograve,			Greek_SIGMA	]	};
68    key <AC03> {	[         d,	D,		Greek_delta,		Greek_DELTA	]	};
69    key <AC04> {	[	  f,	F,		VoidSymbol,		periodcentered	]	};
70    key <AC05> {	[	  g,	G,		VoidSymbol,		VoidSymbol	]	}; // MISSING: ligature fi,fl
71    key <AC06> {	[	  h,	H,		Igrave,			Icircumflex	]	};
72    key <AC07> {	[	  j,	J,		Idiaeresis,		Iacute		]	};
73    key <AC08> {	[	  k,	K,		Egrave,			Ediaeresis	]	};
74    key <AC09> {	[	  l,	L,		notsign,		bar		]	};
75    key <AC10> {	[	  m,	M,		mu,			Oacute		]	};
76    key <AC11> {	[    ugrave,	percent,	Ugrave,			0x1002030	]	};
77    key <BKSL> {	[ dead_grave,	sterling,	at,			numbersign	]	};
78    key <RTRN> {	[    Return			]	};
79
80    key <LSGT> {	[	 less,	  greater,	lessthanequal,		greaterthanequal	]	};
81    key <AB01> {	[	  w,	W,		guilsinglleft,		guilsinglright	]	}; // MISSING: half-guillemot (single angle bracket)
82    key <AB02> {	[	  x,	X,		VoidSymbol,		VoidSymbol	]	}; // CHECK: similarequal; MISSING: extra-slanted slash
83    key <AB03> {	[	  c,	C,		copyright,		cent		]	};
84    key <AB04> {	[	  v,	V,		diamond,		radical		]	}; // CHECK diamond
85    key <AB05> {	[	  b,	B,		ssharp,    		integral	]	};
86    key <AB06> {	[	  n,	N,		dead_tilde,		asciitilde	]	};
87    key <AB07> {	[     comma,	question,	infinity,		questiondown	]	};
88    key <AB08> {	[ semicolon,	period,		ellipsis,		periodcentered	]	};
89    key <AB09> {	[     colon,	slash,		division,		backslash	]	};
90    key <AB10> {	[     equal,	plus,		notequal,		plusminus	]	};
91
92    key <SPCE> {	[     space,	space,		nobreakspace,		nobreakspace	]	};
93
94    include "level3(ralt_switch)"
95};
96
97
98
99xkb_symbols "nodeadkeys" {
100include "macintosh_vndr/fr(extended)"
101    name[Group1]= "France - Mac, no dead keys";
102
103    key <AE01> {	[   ampersand,	  1,	  	VoidSymbol,	  	acute	]	}; // MISSING: Apple
104    key <AD11> {	[asciicircum,diaeresis,ocircumflex, 		Ocircumflex	]	};
105    key <BKSL> {	[ grave,	sterling,	at,			numbersign	]	};
106
107    key <AB06> {	[	  n,	N,		asciitilde,		dead_tilde	]	};
108};
109