summaryrefslogtreecommitdiff
path: root/symbols/tr
blob: 72bf590f387495e85b5cbd3d80ef392e349dc51f (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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
// based on
// Turkish keyboard symbols for PC and xkb
// This file distributed without any expressed or implied warranty
// Nilgün Belma Bugüner <nilgun@belgeler.org>, 2005

//Default Layout (Turkish Q)
default partial
xkb_symbols "basic" {

    include "latin"

    name[Group1]="Turkish";

    key <AE01>	{ [         1,    exclam,        greater,    exclamdown ] };
    key <AE02>	{ [         2, apostrophe,      sterling,   twosuperior ] };
    key <AE03>	{ [        3, asciicircum,    numbersign, threesuperior ] };
    key <AE04>	{ [         4,       plus,        dollar,    onequarter ] };
    key <AE06>	{ [         6,  ampersand, threequarters,    VoidSymbol ] };
    key <AE07>	{ [         7,      slash,     braceleft,    VoidSymbol ] };
    key <AE08>	{ [         8,  parenleft,   bracketleft,    VoidSymbol ] };
    key <AE09>	{ [         9, parenright,  bracketright,     plusminus ] };
    key <AE10>	{ [         0,      equal,    braceright,        degree ] };
    key <AE11>	{ [  asterisk,   question,     backslash,  questiondown ] };
    key <AE12>	{ [     minus, underscore,           bar,    VoidSymbol ] };

    key <AD02>	{ [         w,          W,   VoidSymbol,   VoidSymbol ]	};
    key <AD03>	{ [         e,          E,     EuroSign,   VoidSymbol ]	};
    key <AD05>	{ [         t,          T,    trademark,   VoidSymbol ]	};
    key <AD07>	{ [         u,          U,  ucircumflex,  Ucircumflex ]	};
    key <AD08>	{ type[group1] = "FOUR_LEVEL_ALPHABETIC",
                  [  idotless,          I,  icircumflex,  Icircumflex ] };
    key <AD09>	{ [         o,          O,  ocircumflex,  Ocircumflex ]	};
    key <AD10>	{ [         p,          P,   VoidSymbol,   VoidSymbol ]	};
    key <AD11>	{ [    gbreve,     Gbreve ] };
    key <AD12>	{ [udiaeresis, Udiaeresis,   asciitilde,  dead_macron ]	};

    key <AC01>	{ [         a,          A,  acircumflex,  Acircumflex ]	};
    key <AC02>	{ [         s,          S,      section,   VoidSymbol ]	};
    key <AC03>	{ [         d,          D,   VoidSymbol,   VoidSymbol ]	};
    key <AC04>	{ [         f,          F,  ordfeminine,   VoidSymbol ]	};
    key <AC05>	{ [         g,          G,   VoidSymbol,   VoidSymbol ]	};
    key <AC06>	{ [         h,          H,   VoidSymbol,   VoidSymbol ]	};
    key <AC08>	{ [         k,          K,   VoidSymbol,   VoidSymbol ]	};
    key <AC09>	{ [         l,          L,   VoidSymbol,   VoidSymbol ]	};
    key <AC10>	{ [  scedilla,   Scedilla,        acute,   dead_acute ]	};
    key <AC11>	{ type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", 
                  [ i,  Iabovedot,   apostrophe,   dead_caron ]	};
    key <TLDE>	{ [  quotedbl,     eacute,         less,       degree ]	};

    key <BKSL>	{ [     comma,  semicolon,        grave,   dead_grave ]	};
    key <LSGT>	{ [      less,    greater,          bar,    brokenbar ]	};
    key <AB08>	{ [odiaeresis, Odiaeresis,     multiply,   VoidSymbol ]	};
    key <AB09>	{ [  ccedilla,   Ccedilla, periodcentered,     division ] };
    key <AB10>	{ [    period,      colon, dead_abovedot, dead_abovedot ] };

    include "kpdl(comma)"
    include "level3(ralt_switch)"
};


// Turkish F Layout
partial
xkb_symbols "f" {

    include "latin"

    name[Group1]="Turkish (F)";

    key <AE01>	{ [         1,     exclam,  onesuperior,   exclamdown ]	};
    key <AE02>	{ [         2,   quotedbl,  twosuperior,   VoidSymbol ]	};
    key <AE03>	{ [         3, asciicircum, numbersign, threesuperior ] };
    key <AE04>	{ [         4,     dollar,   onequarter,   VoidSymbol ]	};
    key <AE06>	{ [         6,  ampersand, threequarters,  VoidSymbol ]	};
    key <AE07>	{ [         7, apostrophe,    braceleft,   VoidSymbol ]	};
    key <AE08>	{ [         8,  parenleft,  bracketleft,   VoidSymbol ]	};
    key <AE09>	{ [         9, parenright, bracketright,    plusminus ]	};
    key <AE10>	{ [         0,      equal,   braceright,       degree ]	};
    key <AE11>	{ [     slash,   question,    backslash, questiondown ]	};
    key <AE12>	{ [     minus, underscore,          bar,   VoidSymbol ]	};

    key <AD01>	{ [         f,          F,           at,   VoidSymbol ]	};
    key <AD02>	{ [         g,          G,   VoidSymbol,   VoidSymbol ]	};
    key <AD03>	{ [    gbreve,     Gbreve,   VoidSymbol,   VoidSymbol ]	};
    key <AD04>	{ type[group1] = "FOUR_LEVEL_SEMIALPHABETIC",
                  [  idotless,          I,    paragraph,   VoidSymbol ]	};
    key <AD05>	{ [         o,          O,  ocircumflex,  Ocircumflex ]	};
    key <AD06>	{ [         d,          D,          yen,   VoidSymbol ]	};
    key <AD07>	{ [         r,          R,   registered,   VoidSymbol ]	};
    key <AD08>	{ [         n,          N,   VoidSymbol,   VoidSymbol ]	};
    key <AD09>	{ [         h,          H,       degree,   VoidSymbol ]	};
    key <AD10>	{ [         p,          P,     sterling,   VoidSymbol ]	};
    key <AD11>	{ [         q,          Q, dead_diaeresis, dead_abovering ] };
    key <AD12>	{ [         w,          W,   asciitilde,   dead_breve ]	};

    key <AC01>	{ [         u,          U,  ucircumflex,  Ucircumflex ]	};
    key <AC02>	{ type[group1] = "FOUR_LEVEL_ALPHABETIC",
                  [         i,  Iabovedot,  icircumflex,  Icircumflex ]	};
    key <AC03>	{ [         e,          E,     EuroSign,   VoidSymbol ]	};
    key <AC04>	{ [         a,          A,  acircumflex,  Acircumflex ]	};
    key <AC05>	{ [udiaeresis, Udiaeresis,  ucircumflex,  Ucircumflex ]	};
    key <AC06>	{ [         t,          T,    trademark,   VoidSymbol ]	};
    key <AC07>	{ [         k,          K,   VoidSymbol,   VoidSymbol ]	};
    key <AC08>	{ [         m,          M,           mu,   VoidSymbol ]	};
    key <AC09>	{ [         l,          L,   VoidSymbol,   VoidSymbol ]	};
    key <AC10>	{ [         y,          Y,        acute,   dead_acute ]	};
    key <AC11>	{ [  scedilla,   Scedilla,   numbersign,   dead_caron ]	};
    key <TLDE>	{ [      plus,   asterisk,      notsign,    plusminus ]	};

    key <BKSL>	{ [         x,          X,        grave,   dead_grave ]	};
    key <AB01>	{ [         j,          J, guillemotleft,  VoidSymbol ]	};
    key <AB02>	{ [odiaeresis, Odiaeresis, guillemotright, VoidSymbol ]	};
    key <AB03>	{ [         v,          V, leftdoublequotemark, VoidSymbol ] };
    key <AB04>	{ [         c,          C,         cent,    copyright ]	};
    key <AB05>	{ [  ccedilla,   Ccedilla, rightdoublequotemark, VoidSymbol] };
    key <AB06>	{ [         z,          Z,   VoidSymbol,   VoidSymbol ]	};
    key <AB07>	{ [         s,          S,      section,   VoidSymbol ]	};
    key <AB08>	{ [         b,          B,     multiply, nobreakspace ]	};
    key <AB09>	{ [    period,      colon,     division, dead_abovedot]	};
    key <AB10>	{ [     comma,  semicolon, periodcentered, VoidSymbol ]	};
    key <LSGT>	{ [     less,     greater,          bar,    brokenbar ]	};

    include "kpdl(comma)"
    include "level3(ralt_switch)"
};

// Turkish Alt-Q Layout
partial
xkb_symbols "alt" {

    include "latin"

    name[Group1]="Turkish (Alt-Q)";

    key <AE07>  { [         7,   ampersand,  lowleftcorner,  upleftcorner ] };
    key <AE08>  { [         8,    asterisk,          leftt,          topt ] };
    key <AE09>  { [         9,   parenleft,         rightt,          bott ] };
    key <AE10>  { [         0,  parenright, lowrightcorner, uprightcorner ] };
    key <AE11>  { [     minus,  underscore, horizlinescan5,      vertbar  ] };
    key <AE12>  { [     equal,        plus,  crossinglines  ] };

    key <AD03>  { [         e,           E,     EuroSign,   VoidSymbol ] };
//    key <AD05>        { [         t,           T,    trademark,   VoidSymbol >
    key <AD07>  { [         u,           U,   udiaeresis,   Udiaeresis ] };
    key <AD08>  { [         i,           I,     idotless,    Iabovedot ] };
    key <AD09>  { [         o,           O,   odiaeresis,   Odiaeresis ] };
    key <AC01>  { [         a,           A,  acircumflex,  Acircumflex ] };
    key <AC02>  { [         s,           S,     scedilla,     Scedilla ] };
    key <AC05>  { [         g,           G,       gbreve,       Gbreve ] };

    key <AB03>  { [         c,           C,     ccedilla,     Ccedilla ] };

    include "level3(ralt_switch)"
};


partial alphanumeric_keys
xkb_symbols "Sundeadkeys" {

    // For naming consistency
    include "tr(basic)"

};

partial alphanumeric_keys
xkb_symbols "sundeadkeys" {

    // For naming consistency
    include "tr(Sundeadkeys)"

    name[Group1]="Turkish (Sun dead keys)";
};

// Kurdish Q Layout
// Erdal Ronahi <erdal.ronahi@gmail.com>, 2006
// http://ferheng.org
// http://www.pckurd.net

partial
xkb_symbols "ku" {

   include "tr(basic)"

   name[Group1]="Kurdish (Turkey, Latin Q)";

    key <AD08>	{ [          i,           I,     idotless,            I ] };
    key <AD11>	{ [          x,           X,       gbreve,       Gbreve ] };
    key <AD12>	{ [ucircumflex, Ucircumflex,   asciitilde,   dead_macron] };
    key <AC11>	{ [icircumflex, Icircumflex,   apostrophe,   dead_caron ] };
    key <AB08>	{ [ecircumflex, Ecircumflex,   odiaeresis,   Odiaeresis ] };
};

// Kurdish F Layout
partial
xkb_symbols "ku_f" {

    include "tr(f)"

    name[Group1]="Kurdish (Turkey, F)";

    key <AD03>	{ [         x,          X,       gbreve,        Gbreve]	};
    key <AD04>	{ [         i,          I,    paragraph,   VoidSymbol ] };
    key <AD05>	{ [         o,          O,  ocircumflex,  Ocircumflex ] };

    key <AC01>	{ [ ucircumflex,  Ucircumflex, udiaeresis, Udiaeresis ] };
    key <AC02>	{ [ icircumflex,  Icircumflex,          i,  Iabovedot ] };
    key <AC05>	{ [         u,          U,   udiaeresis,   Udiaeresis ]	};
    key <AB02>	{ [ecircumflex, Ecircumflex, odiaeresis,  Odiaeresis  ] };

};

// Kurdish Alt-Q Layout
partial
xkb_symbols "ku_alt" {

    include "tr(alt)"

    name[Group1]="Kurdish (Turkey, Latin Alt-Q)";

    key <AD03>  { [         e,           E,  ecircumflex,  Ecircumflex ] };
    key <AD07>  { [         u,           U,  ucircumflex,  Ucircumflex ] };
    key <AD08>  { [         i,           I,  icircumflex,  Icircumflex ] };
    key <AD09>  { [         o,           O,   odiaeresis,   Odiaeresis ] };
};

// Turkish international Q Layout
// Alexis Pellicier <alexis.pellicier@nds.k12.tr>, 2007
partial
xkb_symbols "intl" {
    include "latin"

    name[Group1]="Turkish (international with dead keys)";

    key <AE01>	{ type[group1] = "FOUR_LEVEL", [         1,    exclam,    onesuperior,    exclamdown ]	};
    key <AE02>	{ type[group1] = "FOUR_LEVEL", [         2, apostrophe,   sterling,   twosuperior ]	};
    key <AE03>	{ type[group1] = "FOUR_LEVEL", [         3, dead_circumflex,    numbersign, threesuperior ]  };
    key <AE04>	{ type[group1] = "FOUR_LEVEL", [         4,       plus, dollar,    onequarter ]	};
    key <AE06>	{ type[group1] = "FOUR_LEVEL", [         6,  ampersand, threequarters,    VoidSymbol ]	};
    key <AE07>	{ type[group1] = "FOUR_LEVEL", [         7,      slash, braceleft,    VoidSymbol ]	};
    key <AE08>	{ type[group1] = "FOUR_LEVEL", [         8,  parenleft, bracketleft,    VoidSymbol ]	};
    key <AE09>	{ type[group1] = "FOUR_LEVEL", [         9, parenright, bracketright,     plusminus ]	};
    key <AE10>	{ type[group1] = "FOUR_LEVEL", [         0,      equal, braceright,        degree ]	};
    key <AE11>	{ type[group1] = "FOUR_LEVEL", [  asterisk,   question, backslash,  questiondown ]	};
    key <AE12>	{ type[group1] = "FOUR_LEVEL", [     minus, underscore, division,    VoidSymbol ]	};
    key <AD02>	{ [         w,          W,   VoidSymbol,   VoidSymbol ]	};
    key <AD03>	{ [         e,          E,     EuroSign,         cent ]	};
    key <AD05>	{ [         t,          T,    trademark,   VoidSymbol ]	};
    key <AD07>	{ [         u,          U,  ucircumflex,  Ucircumflex ]	};
    key <AD08>	{ [  idotless,          I,  icircumflex,  Icircumflex ]	};
    key <AD09>	{ [         o,          O,  ocircumflex,  Ocircumflex ]	};
    key <AD10>	{ [         p,          P,   VoidSymbol,   VoidSymbol ]	};
    key <AD11>	{ [    gbreve,     Gbreve,   dead_diaeresis           ] };
    key <AD12>	{ [udiaeresis, Udiaeresis,   dead_tilde,  dead_macron ]	};
    key <AC01>	{ [         a,          A,  acircumflex,  Acircumflex ]	};
    key <AC02>	{ [         s,          S,      section,   VoidSymbol ]	};
    key <AC03>	{ [         d,          D,   VoidSymbol,   VoidSymbol ]	};
    key <AC04>	{ [         f,          F,  ordfeminine,   VoidSymbol ]	};
    key <AC05>	{ [         g,          G,   VoidSymbol,   VoidSymbol ]	};
    key <AC06>	{ [         h,          H,   VoidSymbol,   VoidSymbol ]	};
    key <AC08>	{ [         k,          K,   VoidSymbol,   VoidSymbol ]	};
    key <AC09>	{ [         l,          L,   VoidSymbol,   VoidSymbol ]	};
    key <AC10>	{ [  scedilla,   Scedilla,  dead_acute,   dead_acute ]	};
    key <AC11>	{ [         i,  Iabovedot,   apostrophe,   dead_caron ]	};
    key <TLDE>	{ type[group1] = "FOUR_LEVEL",[  quotedbl,  eacute,    plusminus,      degree ]	};
    key <BKSL>	{ type[group1] = "FOUR_LEVEL",[     comma,  semicolon,   dead_grave, dead_grave ]	};
    key <LSGT>	{ type[group1] = "FOUR_LEVEL",[     less,     greater,   bar,    brokenbar ]	};
    key <AB08>	{ [odiaeresis, Odiaeresis,     multiply,   VoidSymbol ]	};
    key <AB09>	{ [  ccedilla,   Ccedilla, periodcentered,   division ]	};
    key <AB10>	{ type[group1] = "FOUR_LEVEL",[    period,      colon, dead_abovedot, dead_abovedot ] };

    include "nbsp(level3)"
    include "level3(ralt_switch)"
};


partial alphanumeric_keys
xkb_symbols "olpc" {
    name[Group1]= "Turkish";
    include "tr(intl)"

    key <AE01>	{ [         1,    exclam,    VoidSymbol,    VoidSymbol ] };
    key <AE06>	{ [         6,  ampersand, VoidSymbol,  VoidSymbol ]	};
    key <AE12>	{ type[group1] = "FOUR_LEVEL", [     minus, underscore, bar,    VoidSymbol ]	};


    key <AB03>  { [         c,           C,     leftdoublequotemark,     VoidSymbol ] };
    key <AB04>  { [         v,           V,     rightdoublequotemark,     VoidSymbol ] };
    key <AB05>  { [         b,           B,     VoidSymbol,     VoidSymbol ] };
    key <AB08>	{ [odiaeresis, Odiaeresis,     VoidSymbol,   VoidSymbol ]	};

    key <AB09>	{ [  ccedilla,   Ccedilla, multiply,     VoidSymbol ] };
    key <AB10>	{ [    period,      colon, division, dead_abovedot ] };

    key <I219> { [  less,  greater, VoidSymbol, VoidSymbol ] };

};

// Crimean Tatar (Crimean Turkish) layouts.
// First released (by Ubuntu): 2009-02-24.
// These layouts are not yet standard. In particular, the mapping of 
// letter 'x' might change in the future. This letter is not used in the 
// current official alphabet, but is included in the layouts for foreign words
// and shortcuts.
// Reşat SABIQ <tilde.birlik @ gmail . com>, 2009
// Özgür Qarahan <qarahan @ gmail . com>, 2009

// Crimean Tatar (Crimean Turkish) Q Layout
partial
xkb_symbols "crh" {

    include "tr(basic)"

    name[Group1]="Crimean Tatar (Turkish Q)";

    key <AE11>	{ [         x,          X,          asterisk,      question ]   };

    key <AC04>	{ [         f,          F,          iacute,          Iacute ]	};
    key <AC07>	{ [         j,          J,          ibreve,          Ibreve ]	};
    key <TLDE>	{ [  quotedbl,  backslash,            less,          degree ]	};

    key <AB02>	{ [    ntilde,     Ntilde,  guillemotright,         greater ]	};
};

// Crimean Tatar (Crimean Turkish) F Layout
partial
xkb_symbols "crh_f" {

    include "tr(f)"

    name[Group1]="Crimean Tatar (Turkish F)";

    key <AE11>	{ [         x,          X,           slash,        question ]	};

    key <AD04>	{ type[group1] = "FOUR_LEVEL_SEMIALPHABETIC",
                  [  idotless,          I,          iacute,          Iacute ]	};

    key <AC07>	{ [         k,          K,          ibreve,          Ibreve ]	};
    key <TLDE>	{ [      plus,   asterisk,       backslash,       plusminus ]	};

    key <BKSL>	{ [    ntilde,     Ntilde,           grave,      dead_grave ]	};
};

// Crimean Tatar (Crimean Turkish) Alt-Q Layout
partial
xkb_symbols "crh_alt" {

    include "tr(alt)"

    name[Group1]="Crimean Tatar (Turkish Alt-Q)";

    key <AC04>	{ [         f,          F,          iacute,          Iacute ]	};
    key <AC07>	{ [         j,          J,          ibreve,          Ibreve ]	};

    key <AB06>	{ [         n,          N,          ntilde,          Ntilde ]	};
};

// EXTRAS:

partial alphanumeric_keys
	xkb_symbols "sun_type6" {
	include "sun_vndr/tr(sun_type6)"
};