// $XFree86: xc/programs/xkbcomp/symbols/amiga,v 3.0.4.1 1998/10/04 13:37:29 hohndel Exp $
default xkb_symbols "usa1" {

    name[Group1]= "usa1";
    key <ESC>  {	[	 Escape			]	};

    // Begin "Function" section
    key <FK01> {	[	 F1			]	};
    key <FK02> {	[	 F2			]	};
    key <FK03> {	[	 F3			]	};
    key <FK04> {	[	 F4			]	};
    key <FK05> {	[	 F5			]	};
    key <FK06> {	[	 F6			]	};
    key <FK07> {	[	 F7			]	};
    key <FK08> {	[	 F8			]	};
    key <FK09> {	[	 F9			]	};
    key <FK10> {	[	 F10			]	};
    // End "Function" section

    // Alphanumeric section
    key <TLDE> {	[ grave,	asciitilde	]	};
    key <AE01> {	[	  1,	exclam 		]	};
    key <AE02> {	[	  2,	at		]	};
    key <AE03> {	[	  3,	numbersign	]	};
    key <AE04> {	[	  4,	dollar		]	};
    key <AE05> {	[	  5,	percent		]	};
    key <AE06> {	[	  6,	asciicircum	]	};
    key <AE07> {	[	  7,	ampersand	]	};
    key <AE08> {	[	  8,	asterisk	]	};
    key <AE09> {	[	  9,	parenleft	]	};
    key <AE10> {	[	  0,	parenright	]	};
    key <AE11> {	[ minus,	underscore	]	};
    key <AE12> {	[ equal,	plus		]	};
    key <BKSL> {	[ backslash,	bar		]	};
    key <BKSP> {	[	BackSpace		]	};

    key  <TAB> {	[	Tab,	ISO_Left_Tab	]	};
    key <AD01> {	[	  q,	Q 		]	};
    key <AD02> {	[	  w,	W		]	};
    key <AD03> {	[	  e,	E		]	};
    key <AD04> {	[	  r,	R		]	};
    key <AD05> {	[	  t,	T		]	};
    key <AD06> {	[	  y,	Y		]	};
    key <AD07> {	[	  u,	U		]	};
    key <AD08> {	[	  i,	I		]	};
    key <AD09> {	[	  o,	O		]	};
    key <AD10> {	[	  p,	P		]	};
    key <AD11> {	[ bracketleft,	braceleft	]	};
    key <AD12> {	[ bracketright,	braceright	]	};
    key <RTRN> {	[	 Return			]	};

    key <LCTL> {	[	 Control_L		]	};
    key <CAPS> {	[	 Caps_Lock		]	};
    key <AC01> {	[	  a,	A 		]	};
    key <AC02> {	[	  s,	S		]	};
    key <AC03> {	[	  d,	D		]	};
    key <AC04> {	[	  f,	F		]	};
    key <AC05> {	[	  g,	G		]	};
    key <AC06> {	[	  h,	H		]	};
    key <AC07> {	[	  j,	J		]	};
    key <AC08> {	[	  k,	K		]	};
    key <AC09> {	[	  l,	L		]	};
    key <AC10> {	[ semicolon,	colon		]	};
    key <AC11> {	[ apostrophe,	quotedbl	]	};

    key <LFSH> {	[ 	 Shift_L		]	};
    key <AB01> {	[	  z,	Z 		]	};
    key <AB02> {	[	  x,	X		]	};
    key <AB03> {	[	  c,	C		]	};
    key <AB04> {	[	  v,	V		]	};
    key <AB05> {	[	  b,	B		]	};
    key <AB06> {	[	  n,	N		]	};
    key <AB07> {	[	  m,	M		]	};
    key <AB08> {	[ comma,	less		]	};
    key <AB09> {	[ period,	greater		]	};
    key <AB10> {	[ slash,	question	]	};
    key <RTSH> {	[	 Shift_R		]	};

    key <LALT> {	[	 Alt_L		]	};
    key <LAMI> {	[	 Meta_L		]	};
    key <SPCE> {	[	 space		]	};
    key <RAMI> {	[	 Meta_R		]	};
    key <RALT> {	[ Mode_switch,	Multi_key	]	};
    // End alphanumeric section

    // Begin "Editing" section
    key <DELE> {	[	 Delete		]	};
    key <HELP> {	[	 Help		]	};
    key <UP>   {	[	 Up		]	};
    key <LEFT> {	[	 Left		]	};
    key <DOWN> {	[	 Down		]	};
    key <RGHT> {	[	 Right		]	};
    // End "Editing" section

    // Begin "Keypad" section
    key <KPLP> {	[	 parenleft		],
			[	 Num_Lock		]	};
    key <KPRP> {	[	 parenright		],
			[	 Scroll_Lock		]	};
    key <KPDV> {	[	 KP_Divide		]	};
    key <KPMU> {	[	 KP_Multiply		],
			[	 Print			]	};

    key <KP7>  {	[ KP_7,		KP_Home		]	};
    key <KP8>  {	[ KP_8,		KP_Up		]	};
    key <KP9>  {	[ KP_9,		KP_Prior	]	};
    key <KPSU> {	[	 KP_Subtract		]	};

    key <KP4>  {	[ KP_4,		KP_Left		]	};
    key <KP5>  {	[	 KP_5			]	};
    key <KP6>  {	[ KP_6,		KP_Right	]	};
    key <KPAD> {	[	 KP_Add			]	};

    key <KP1>  {	[ KP_1,		KP_End		]	};
    key <KP2>  {	[ KP_2,		KP_Down		]	};
    key <KP3>  {	[ KP_3,		KP_Next		]	};

    key <KP0>  {	[ KP_0,		KP_Insert	]	};
    key <KPDC> {	[ KP_Decimal,	KP_Delete	]	};
    key <KPEN> {	[	  KP_Enter		]	};
    // End "Keypad" section

    // begin modifier mappings
    modifier_map Shift  { Shift_L, Shift_R };
    modifier_map Lock   { Caps_Lock };
    modifier_map Control{ Control_L };
    modifier_map Mod1	{ Alt_L };
    modifier_map Mod2	{ Mode_switch };
    modifier_map Mod3	{ Meta_L, Meta_R };
};

xkb_symbols "de" {

    name[Group1]= "German";
    key <ESC>  {	[	 Escape			]	};

    // Begin "Function" section
    key <FK01> {	[	 F1			]	};
    key <FK02> {	[	 F2			]	};
    key <FK03> {	[	 F3			]	};
    key <FK04> {	[	 F4			]	};
    key <FK05> {	[	 F5			]	};
    key <FK06> {	[	 F6			]	};
    key <FK07> {	[	 F7			]	};
    key <FK08> {	[	 F8			]	};
    key <FK09> {	[	 F9			]	};
    key <FK10> {	[	 F10			]	};
    // End "Function" section

    // Alphanumeric section
    key <TLDE> {	[ grave,	asciitilde	],
			[	grave		]	};
    key <AE01> {	[	  1,	exclam 		],
			[ onesuperior,	exclam		]	};
    key <AE02> {	[	  2,	quotedbl	],
			[        at,	twosuperior	]	};
    key <AE03> {	[	  3,	paragraph	],
			[ threesuperior, numbersign	]	};
    key <AE04> {	[	  4,	dollar		],
			[    degree,	cent		]	};
    key <AE05> {	[	  5,	percent		],
			[ onequarter,	percent		]	};
    key <AE06> {	[	  6,	ampersand	],
			[   onehalf,	asciicircum	]	};
    key <AE07> {	[	  7,	slash		],
			[ threequarters, ampersand	]	};
    key <AE08> {	[	  8,	parenleft	],
			[ periodcentered, asterisk	]	};
    key <AE09> {	[	  9,	parenright	],
			[ guillemotleft, parenleft	]	};
    key <AE10> {	[	  0,	equal		],
			[ guillemotright, parenright	]	};
    key <AE11> {	[    ssharp,	question	],
			[     minus,	underscore	]	};
    key <AE12> {	[ apostrophe,	grave	],
			[     equal,	plus		]	};
    key <BKSL> {	[ backslash,	bar		]	};
    key <BKSP> {	[	BackSpace		]	};

    key  <TAB> {	[	Tab,	ISO_Left_Tab	]	};
    key <AD01> {	[	  q,	Q 		],
			[     aring,	Aring		]	};
    key <AD02> {	[	  w,	W		],
			[    degree,	degree		]	};
    key <AD03> {	[	  e,	E		],
			[ copyright,	copyright	]	};
    key <AD04> {	[	  r,	R		],
			[ registered,	registered	]	};
    key <AD05> {	[	  t,	T		],
			[     thorn,	THORN		]	};
    key <AD06> {	[	  z,	Z		],
			[  currency,	yen		]	};
    key <AD07> {	[	  u,	U		],
			[        mu,	mu		]	};
    key <AD08> {	[	  i,	I		],
			[ exclamdown,	brokenbar	]	};
    key <AD09> {	[	  o,	O		],
			[    oslash,	Ooblique	]	};
    key <AD10> {	[	  p,	P		],
			[ paragraph,	paragraph	]	};
    key <AD11> {	[ udiaeresis,	Udiaeresis	],
			[ bracketleft,	braceleft	]	};
    key <AD12> {	[      plus,	asterisk	],
			[ bracketright,	braceright	]	};
    key <RTRN> {	[	 Return			]	};

    key <LCTL> {	[	 Control_L		]	};
    key <CAPS> {	[	 Caps_Lock		]	};
    key <AC01> {	[	  a,	A 		],
			[        ae,	AE		]	};
    key <AC02> {	[	  s,	S		],
			[    ssharp,	section		]	};
    key <AC03> {	[	  d,	D		],
			[       eth,	ETH		]	};
    key <AC04> {	[	  f,	F		]	};
    key <AC05> {	[	  g,	G		]	};
    key <AC06> {	[	  h,	H		]	};
    key <AC07> {	[	  j,	J		]	};
    key <AC08> {	[	  k,	K		]	};
    key <AC09> {	[	  l,	L		],
			[  sterling,	sterling	]	};
    key <AC10> {	[ odiaeresis,	Odiaeresis	],
			[ semicolon,	colon		]	};
    key <AC11> {	[ adiaeresis,	Adiaeresis	],
			[ apostrophe,	quotedbl	]	};
    key <AC12> {	[ numbersign,	asciicircum	]	};

    key <LFSH> {	[	 Shift_L		]	};
    key <LSGT> {	[      less,	greater		]	};
    key <AB01> {	[	  y,	Y 		]	};
    key <AB02> {	[	  x,	X		]	};
    key <AB03> {	[	  c,	C		]	};
    key <AB04> {	[	  v,	V		]	};
    key <AB05> {	[	  b,	B		]	};
    key <AB06> {	[	  n,	N		]	};
    key <AB07> {	[	  m,	M		]	};
    key <AB08> {	[     comma,	semicolon	],
			[     comma,	less		]	};
    key <AB09> {	[    period,	colon		],
			[    period,	greater		]	};
    key <AB10> {	[     minus,	underscore	],
			[     slash,	question	]	};
    key <RTSH> {	[	 Shift_R		]	};

    key <LALT> {	[	 Alt_L 		]	};
    key <LAMI> {	[	 Meta_L		]	};
    key <SPCE> {	[	 space		]	};
    key <RAMI> {	[	 Meta_R		]	};
    key <RALT> {	[ Mode_switch,	Multi_key	]	};
    // End alphanumeric section

    // Begin "Editing" section
    key <DELE> {	[	 Delete		]	};
    key <HELP> {	[	 Help		]	};
    key <UP>   {	[	 Up		]	};
    key <LEFT> {	[	 Left		]	};
    key <DOWN> {	[	 Down		]	};
    key <RGHT> {	[	 Right		]	};
    // End "Editing" section

    // Begin "Keypad" section
    key <KPLP> {	[ bracketleft,	braceleft	],
			[	 Num_Lock		]	};
    key <KPRP> {	[ bracketright,	braceright	],
			[	 Scroll_Lock		]	};
    key <KPDV> {	[	 KP_Divide		]	};
    key <KPMU> {	[	 KP_Multiply		],
			[	 Print			]	};

    key <KP7>  {	[      KP_7,	KP_Home		]	};
    key <KP8>  {	[      KP_8,	KP_Up		]	};
    key <KP9>  {	[      KP_9,	KP_Prior	]	};
    key <KPSU> {	[	 KP_Subtract		]	};

    key <KP4>  {	[      KP_4,	KP_Left		]	};
    key <KP5>  {	[	    KP_5		]	};
    key <KP6>  {	[      KP_6,	KP_Right	]	};
    key <KPAD> {	[	   KP_Add		]	};

    key <KP1>  {	[      KP_1,	KP_End		]	};
    key <KP2>  {	[      KP_2,	KP_Down		]	};
    key <KP3>  {	[      KP_3,	KP_Next		]	};

    key <KP0>  {	[      KP_0,	KP_Insert	]	};
    key <KPDC> {	[ KP_Decimal,	KP_Delete	]	};
    key <KPEN> {	[	  KP_Enter		]	};
    // End "Keypad" section

    // begin modifier mappings
    modifier_map Shift  { Shift_L, Shift_R };
    modifier_map Lock   { Caps_Lock };
    modifier_map Control{ Control_L };
    modifier_map Mod1	{ Alt_L };
    modifier_map Mod2	{ Mode_switch };
    modifier_map Mod3	{ Meta_L, Meta_R };
};

xkb_symbols "fr" {

    name[Group1]= "French";
    key <ESC>  {	[	 Escape			]	};

    // Begin "Function" section
    key <FK01> {	[	 F1			]	};
    key <FK02> {	[	 F2			]	};
    key <FK03> {	[	 F3			]	};
    key <FK04> {	[	 F4			]	};
    key <FK05> {	[	 F5			]	};
    key <FK06> {	[	 F6			]	};
    key <FK07> {	[	 F7			]	};
    key <FK08> {	[	 F8			]	};
    key <FK09> {	[	 F9			]	};
    key <FK10> {	[	 F10			]	};
    // End "Function" section

    // Alphanumeric section
    key <TLDE> {	[     grave,	asciitilde	],
			[	grave			]	};
    key <AE01> {	[ ampersand,	1 		],
			[ onesuperior,	exclam		]	};
    key <AE02> {	[    eacute,	2		],
			[ twosuperior,	at		]	};
    key <AE03> {	[  quotedbl,	3		],
			[ threesuperior, numbersign	]	};
    key <AE04> {	[ apostrophe,	4		],
			[      cent,	dollar		]	};
    key <AE05> {	[ parenleft,	5		],
			[ onequarter,	percent		]	};
    key <AE06> {	[ section,	6		],
			[   onehalf,	asciicircum	]	};
    key <AE07> {	[    egrave,	7		],
			[ threequarters, ampersand	]	};
    key <AE08> {	[    exclam,	8		],
			[ periodcentered, asterisk	]	};
    key <AE09> {	[  ccedilla,	9		],
			[ guillemotleft, parenleft	]	};
    key <AE10> {	[    agrave,	0		],
			[ guillemotright, parenright	]	};
    key <AE11> {	[ parenright,	degree		],
			[     minus,	underscore	]	};
    key <AE12> {	[     minus,	underscore	],
			[     equal,	plus		]	};
    key <BKSL> {	[ backslash,	bar		]	};
    key <BKSP> {	[	BackSpace		]	};

    key  <TAB> {	[	Tab,	ISO_Left_Tab	]	};
    key <AD01> {	[	  a,	A 		],
			[     aring,	Aring		]	};
    key <AD02> {	[	  z,	Z		],
			[    degree,	degree		]	};
    key <AD03> {	[	  e,	E		],
			[ copyright,	copyright	]	};
    key <AD04> {	[	  r,	R		],
			[ registered,	registered	]	};
    key <AD05> {	[	  t,	T		],
			[     thorn,	THORN		]	};
    key <AD06> {	[	  y,	Y		],
			[  currency,	yen		]	};
    key <AD07> {	[	  u,	U		],
			[        mu,	mu		]	};
    key <AD08> {	[	  i,	I		],
			[ exclamdown,	brokenbar	]	};
    key <AD09> {	[	  o,	O		],
			[    oslash,	Ooblique	]	};
    key <AD10> {	[	  p,	P		],
			[ paragraph,	paragraph	]	};
    key <AD11> {	[ dead_circumflex,	dead_diaeresis	],
			[ bracketleft,	braceleft	]	};
    key <AD12> {	[      dollar,	asterisk	],
			[ bracketright,	braceright	]	};
    key <RTRN> {	[	 Return			]	};

    key <LCTL> {	[	 Control_L		]	};
    key <CAPS> {	[	 Caps_Lock		]	};
    key <AC01> {	[	  q,	Q 		],
			[        ae,	AE		]	};
    key <AC02> {	[	  s,	S		],
			[    ssharp,	section		]	};
    key <AC03> {	[	  d,	D		],
			[       eth,	ETH		]	};
    key <AC04> {	[	  f,	F		]	};
    key <AC05> {	[	  g,	G		]	};
    key <AC06> {	[	  h,	H		]	};
    key <AC07> {	[	  j,	J		]	};
    key <AC08> {	[	  k,	K		]	};
    key <AC09> {	[	  l,	L		],
			[  sterling,	sterling	]	};
    key <AC10> {	[ 	  m,	M		],
			[ semicolon,	colon		]	};
    key <AC11> {	[    ugrave,	percent		],
			[ apostrophe,	quotedbl	]	};
    key <AC12> {	[ 	 mu,	sterling	]	};

    key <LFSH> {	[	 Shift_L		]	};
    key <LSGT> {	[      less,	greater		]	};
    key <AB01> {	[	  w,	W 		],
			[ plusminus,	notsign		]	};
    key <AB02> {	[	  x,	X		],
			[  multiply,	division	]	};
    key <AB03> {	[	  c,	C		],
			[  ccedilla,	Ccedilla	]	};
    key <AB04> {	[	  v,	V		],
			[	ordfeminine		]	};
    key <AB05> {	[	  b,	B		],
			[	masculine		]	};
    key <AB06> {	[	  n,	N		],
			[     minus,	underscore	]	};
    key <AB07> {	[     comma,	question	],
			[   cedilla,	questiondown	]	};
    key <AB08> {	[ semicolon,	period		],
			[     comma,	less		]	};
    key <AB09> {	[     colon,	slash		],
			[    period,	greater		]	};
    key <AB10> {	[     equal,	plus		],
			[     slash,	question	]	};
    key <RTSH> {	[	 Shift_R		]	};

    key <LALT> {	[	 Alt_L 		]	};
    key <LAMI> {	[	 Meta_L		]	};
    key <SPCE> {	[	 space		]	};
    key <RAMI> {	[	 Meta_R		]	};
    key <RALT> {	[ Mode_switch,	Multi_key	]	};
    // End alphanumeric section

    // Begin "Editing" section
    key <DELE> {	[	 Delete		]	};
    key <HELP> {	[	 Help		]	};
    key <UP>   {	[	 Up		]	};
    key <LEFT> {	[	 Left		]	};
    key <DOWN> {	[	 Down		]	};
    key <RGHT> {	[	 Right		]	};
    // End "Editing" section

    // Begin "Keypad" section
    key <KPLP> {	[ bracketleft,	braceleft	],
			[	 Num_Lock		]	};
    key <KPRP> {	[ bracketright,	braceright	],
			[	 Scroll_Lock		]	};
    key <KPDV> {	[	 KP_Divide		]	};
    key <KPMU> {	[	 KP_Multiply		],
			[	 Print			]	};

    key <KP7>  {	[      KP_7,	KP_Home		]	};
    key <KP8>  {	[      KP_8,	KP_Up		]	};
    key <KP9>  {	[      KP_9,	KP_Prior	]	};
    key <KPSU> {	[	 KP_Subtract		]	};

    key <KP4>  {	[      KP_4,	KP_Left		]	};
    key <KP5>  {	[	    KP_5		]	};
    key <KP6>  {	[      KP_6,	KP_Right	]	};
    key <KPAD> {	[	   KP_Add		]	};

    key <KP1>  {	[      KP_1,	KP_End		]	};
    key <KP2>  {	[      KP_2,	KP_Down		]	};
    key <KP3>  {	[      KP_3,	KP_Next		]	};

    key <KP0>  {	[      KP_0,	KP_Insert	]	};
    key <KPDC> {	[ KP_Decimal,	KP_Delete	]	};
    key <KPEN> {	[	  KP_Enter		]	};
    // End "Keypad" section

    // begin modifier mappings
    modifier_map Shift  { Shift_L, Shift_R };
    modifier_map Lock   { Caps_Lock };
    modifier_map Control{ Control_L };
    modifier_map Mod1	{ Alt_L };
    modifier_map Mod2	{ Mode_switch };
    modifier_map Mod3	{ Meta_L, Meta_R };
};

// common polish symbols for US and European keyboards
//
partial xkb_symbols "pl" {

    name[Group1]= "Polish";

    // Begin "Function" section
    // End "Function" section

    // Alphanumeric section
    key <AD03> { symbols[Group2]= [ ecircumflex, 	Ecircumflex	] };
    key <AD09> { symbols[Group2]= [ oacute, 	Oacute	] };

    key <AC01> { symbols[Group2]= [ plusminus, 	exclamdown	] };
    key <AC02> { symbols[Group2]= [ paragraph, 	brokenbar	] };
    key <AC09> { symbols[Group2]= [ threesuperior, 	sterling	] };

    key <AB02> { symbols[Group2]= [ onequarter, 	notsign	] };
    key <AB03> { symbols[Group2]= [ ae, 	AE	] };
    key <AB06> { symbols[Group2]= [ ntilde, 	Ntilde	] };
    // End alphanumeric section

    // Begin "Editing" section
    // End "Editing" section

    // Begin "Keypad" section
    // End "Keypad" section

    // begin modifier mappings
};

xkb_symbols "pl_us" {
    replace "amiga(usa1)+amiga(pl)"

    override key <AB01> { symbols[Group2]= [ questiondown, 	macron	] };
};

xkb_symbols "pl_eur" {
    replace "amiga(de)+amiga(pl)"

    override key <AD06> { symbols[Group2]= [ questiondown, 	macron	] };
    override key <AC12> { symbols[Group1]= [ numbersign,	asciicircum ] };
    override key <LSGT> { symbols[Group1]= [ less,	greater ] };
};

