summaryrefslogtreecommitdiff
path: root/symbols/ch
blob: 84bb9dfd5e66d877b1e2fd6105884e9cea7b853b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
// $Xorg: ch,v 1.3 2000/08/17 19:54:42 cpqbld Exp $




// $XFree86: xc/programs/xkbcomp/symbols/ch,v 3.6 2002/11/25 14:05:06 eich Exp $

partial default alphanumeric_keys 
xkb_symbols "basic" {

    // Describes the differences between a very simple US/ASCII
    // keyboard and a very simple Swiss keyboard

    // Alphanumeric section
    name[Group1]= "Swiss German";
    key <TLDE> {	[   section,	degree		]	};
    key <AE01> {	[	  1,	plus 		],
			[       bar,	exclamdown	]	};
    key <AE02> {	[	  2,	quotedbl	],
			[        at,	oneeighth	]	};
    key <AE03> {	[	  3,	asterisk	],
			[ numbersign			]	};
    key <AE04> {	[	  4,	ccedilla	]	};
    key <AE05> {	[	  5,	percent		]	};
    key <AE06> {	[	  6,	ampersand	],
			[   notsign			]	};
    key <AE07> {	[	  7,	slash		],
			[ brokenbar			]	};
    key <AE08> {	[	  8,	parenleft	],
			[      cent			]	};
    key <AE09> {	[	  9,	parenright	]	};
    key <AE10> {	[	  0,	equal		]	};
    key <AE11> {	[ apostrophe,	question	],
			[ dead_acute			]	};
    key <AE12> {	[ dead_circumflex, dead_grave	],
			[ dead_tilde			]	};

    key <AD03> {	[	  e,	E		],
			[  EuroSign			]	};
    key <AD06> {	[	  z,	Z		]	};
    key <AD11> {	[ udiaeresis,	egrave		],
			[ bracketleft			]	};
    key <AD12> {	[ dead_diaeresis, exclam	],
			[ bracketright			]	};

    key <AC10> {	[ odiaeresis,	eacute		]	};
    key <AC11> {	[ adiaeresis,	agrave		],
			[  braceleft			]	};
    key <BKSL> {	[     dollar,	sterling	],
			[ braceright			]	};

    key <LSGT> {	[      less,	greater		],
			[ backslash,	brokenbar	]	};
    key <AB01> {	[	  y,	Y 		]	};
    key <AB08> {	[     comma,	semicolon	]	};
    key <AB09> {	[    period,	colon		]	};
    key <AB10> {	[     minus,	underscore	]	};

    // End alphanumeric section, begin "Keypad"
    key <KPDL> {	[  KP_Delete,	KP_Decimal	]	};
    // End "Keypad" section


    // begin modifier mappings
    modifier_map Shift  { Shift_L };
    modifier_map Lock   { Caps_Lock };
    modifier_map Control{ Control_L };
};

partial alphanumeric_keys 
xkb_symbols "de" {
    include "ch(basic)"
};

partial alphanumeric_keys 
xkb_symbols "de_Sundeadkeys" {
    // modify the default Swiss German layout to use Sun dead keys
    include "ch(basic)"
    key <AE11> {	[ apostrophe,	question	],
			[ SunFA_Acute			]	};
    key <AE12> {	[ SunFA_Circum,	SunFA_Grave	],
			[ SunFA_Tilde			]	};
    key <AD12> {	[ SunFA_Diaeresis, exclam	],
			[ bracketright			]	};
};

partial alphanumeric_keys 
xkb_symbols "de_sundeadkeys" {
    include "ch(de_Sundeadkeys)"
};

partial alphanumeric_keys 
xkb_symbols "de_nodeadkeys" {
    // modify the default Swiss German layout not to have any dead keys
    include "ch(basic)"
    key <AE11> {	[ apostrophe,	question	],
			[ acute				]	};
    key <AE12> {	[ asciicircum,	grave		],
			[ asciitilde			]	};
    key <AD12> {	[ diaeresis,	exclam		],
			[ bracketright			]	};
};

partial alphanumeric_keys 
xkb_symbols "fr" {

    // Describes the differences between a very simple US/ASCII
    // keyboard and a very simple Swiss/French keybaord

    include "ch(basic)"
    name[Group1]= "Swiss French";

    override key <AD11> {
	[ egrave,	udiaeresis	],
	[ bracketleft			]
    };
    override key <AC10> {
	[ eacute,	odiaeresis	]
    };
    override key <AC11> {
	[ agrave,	adiaeresis	],
	[  braceleft			]
    };
};

partial alphanumeric_keys
xkb_symbols "fr_Sundeadkeys" {
    // modify the default Swiss French layout to use Sun dead keys
    include "ch(fr)"
    key <AE11> {	[ apostrophe,	question	],
			[ SunFA_Acute			]	};
    key <AE12> {	[ SunFA_Circum,	SunFA_Grave	],
			[ SunFA_Tilde			]	};
    key <AD12> {	[ SunFA_Diaeresis, exclam	],
			[ bracketright			]	};
};

partial alphanumeric_keys
xkb_symbols "fr_sundeadkeys" {
    include "ch(fr_Sundeadkeys)"
};

partial alphanumeric_keys
xkb_symbols "fr_nodeadkeys" {
    // modify the default Swiss French layout not to have any dead keys
    include "ch(fr)"
    key <AE11> {	[ apostrophe,	question	],
			[ acute				]	};
    key <AE12> {	[ asciicircum,	grave		],
			[ asciitilde			]	};
    key <AD12> {	[ diaeresis,	exclam		],
			[ bracketright			]	};
};