fixed Bangladesh, closed b.fd.o#5480
[xorg/xkeyboard-config] / symbols / ua
1 // $XKeyboardConfig$
2
3 // based on
4 // ukrainian standard keyboard 
5 // AEN <aen@logic.ru> & Leon Kanter <leon@geon.donetsk.ua>
6 // Last Changes 2003/09/03 by Andriy Rysin <arysin@yahoo.com>
7 //
8 // $XFree86: xc/programs/xkbcomp/symbols/ua,v 1.4 2003/05/15 11:29:47 pascal Exp $
9
10 partial default alphanumeric_keys 
11 xkb_symbols "basic" {
12
13     name[Group1]= "Ukraine";
14
15     key <TLDE> {        [      apostrophe,      asciitilde      ]       };
16     key <AE01> {        [               1,          exclam      ]       };
17     key <AE02> {        [               2,        quotedbl      ]       };
18     key <AE03> {        [               3,      numbersign      ]       };
19     key <AE04> {        [               4,        asterisk      ]       };
20     key <AE05> {        [               5,           colon      ]       };
21     key <AE06> {        [               6,           comma      ]       };
22     key <AE07> {        [               7,          period      ]       };
23     key <AE08> {        [               8,       semicolon      ]       };
24     key <AE09> {        [               9,       parenleft      ]       };
25     key <AE10> {        [               0,      parenright      ]       };
26     key <AE11> {        [           minus,      underscore      ]       };
27     key <AE12> {        [           equal,            plus      ]       };
28
29     key <AD01> {        [ Cyrillic_shorti, Cyrillic_SHORTI      ]       };
30     key <AD02> {        [    Cyrillic_tse,    Cyrillic_TSE      ]       };
31     key <AD03> {        [      Cyrillic_u,      Cyrillic_U      ]       };
32     key <AD04> {        [     Cyrillic_ka,     Cyrillic_KA      ]       };
33     key <AD05> {        [     Cyrillic_ie,     Cyrillic_IE      ]       };
34     key <AD06> {        [     Cyrillic_en,     Cyrillic_EN      ]       };
35     key <AD07> {        [    Cyrillic_ghe,    Cyrillic_GHE      ]       };
36     key <AD08> {        [    Cyrillic_sha,    Cyrillic_SHA      ]       };
37     key <AD09> {        [  Cyrillic_shcha,  Cyrillic_SHCHA      ]       };
38     key <AD10> {        [     Cyrillic_ze,     Cyrillic_ZE      ]       };
39     key <AD11> {        [     Cyrillic_ha,     Cyrillic_HA      ]       };
40     key <AD12> {        [    Ukrainian_yi,    Ukrainian_YI      ]       };
41     key <BKSL> {        [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
42
43     key <AC01> {        [     Cyrillic_ef,     Cyrillic_EF      ]       };
44     key <AC02> {        [     Ukrainian_i,     Ukrainian_I      ]       };
45     key <AC03> {        [     Cyrillic_ve,     Cyrillic_VE      ]       };
46     key <AC04> {        [      Cyrillic_a,      Cyrillic_A      ]       };
47     key <AC05> {        [     Cyrillic_pe,     Cyrillic_PE      ]       };
48     key <AC06> {        [     Cyrillic_er,     Cyrillic_ER      ]       };
49     key <AC07> {        [      Cyrillic_o,      Cyrillic_O      ]       };
50     key <AC08> {        [     Cyrillic_el,     Cyrillic_EL      ]       };
51     key <AC09> {        [     Cyrillic_de,     Cyrillic_DE      ]       };
52     key <AC10> {        [    Cyrillic_zhe,    Cyrillic_ZHE      ]       };
53     key <AC11> {        [    Ukrainian_ie,    Ukrainian_IE      ]       };
54
55     key <AB01> {        [     Cyrillic_ya,     Cyrillic_YA      ]       };
56     key <AB02> {        [    Cyrillic_che,    Cyrillic_CHE      ]       };
57     key <AB03> {        [     Cyrillic_es,     Cyrillic_ES      ]       };
58     key <AB04> {        [     Cyrillic_em,     Cyrillic_EM      ]       };
59     key <AB06> {        [     Cyrillic_te,     Cyrillic_TE      ]       };
60     key <AB05> {        [      Cyrillic_i,      Cyrillic_I      ]       };
61     key <AB07> {        [Cyrillic_softsign,Cyrillic_SOFTSIGN    ]       };
62     key <AB08> {        [     Cyrillic_be,     Cyrillic_BE      ]       };
63     key <AB09> {        [     Cyrillic_yu,     Cyrillic_YU      ]       };
64     key <AB10> {        [           slash,        question      ]       };
65
66     key <LSGT> {        [           slash,             bar      ]       };
67     // End alphanumeric section
68 };
69
70 partial alphanumeric_keys
71 xkb_symbols "winkeys" {
72     include "ua(basic)"
73  
74     name[Group1]= "Ukraine - Winkeys";
75
76     key <AE03> {        [               3,      numerosign      ]       };
77     key <AE04> {        [               4,       semicolon      ]       };
78     key <AE05> {        [               5,         percent      ]       };
79     key <AE06> {        [               6,           colon      ]       };
80     key <AE07> {        [               7,        question      ]       };
81     key <AE08> {        [               8,        asterisk      ]       };
82     key <AB10> {        [          period,           comma      ]       };
83 };
84
85 partial alphanumeric_keys
86 xkb_symbols "typewriter" {
87     include "ua(basic)"
88
89     name[Group1]= "Ukraine - Typewriter";
90
91     key <TLDE> {        [      apostrophe,        quotedbl      ]       };
92     key <AE01> {        [          exclam,               1      ]       };
93     key <AE02> {        [      numerosign,               2      ]       };
94     key <AE03> {        [           slash,               3      ]       };
95     key <AE04> {        [       semicolon,               4      ]       };
96     key <AE05> {        [           colon,               5      ]       };
97     key <AE06> {        [           comma,               6      ]       };
98     key <AE07> {        [          period,               7      ]       };
99     key <AE08> {        [      underscore,               8      ]       };
100     key <AE09> {        [        question,               9      ]       };
101     key <AE10> {        [         percent,               0      ]       };
102
103     key <AD12> {        [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
104
105     key <AC02> {        [      Cyrillic_i,      Cyrillic_I      ]       };
106
107     key <AB05> {        [     Ukrainian_i,     Ukrainian_I      ]       };
108
109     key <AB10> {        [    Ukrainian_yi,    Ukrainian_YI      ]       };
110
111     key <BKSL> {        [       parenleft,      parenright      ]       };
112 };
113
114 partial alphanumeric_keys
115 xkb_symbols "phonetic" {
116   include "ua(basic)"
117   
118   name[Group1]= "Ukraine - Phonetic";
119
120   key <LatQ> {   [ Cyrillic_ya,       Cyrillic_YA         ]    };
121   key <LatW> {   [ Cyrillic_ve,       Cyrillic_VE         ]    };
122   key <LatE> {   [ Cyrillic_ie,       Cyrillic_IE         ]    };
123   key <LatR> {   [ Cyrillic_er,       Cyrillic_ER         ]    };
124   key <LatT> {   [ Cyrillic_te,       Cyrillic_TE         ]    };
125   key <LatY> {   [ Cyrillic_i,        Cyrillic_i          ]    };
126   key <LatU> {   [ Cyrillic_u,        Cyrillic_U          ]    };
127   key <LatI> {   [ Ukrainian_i,       Ukrainian_I         ]    };
128   key <LatO> {   [ Cyrillic_o,        Cyrillic_O          ]    };
129   key <LatP> {   [ Cyrillic_pe,       Cyrillic_PE         ]    };
130   key <AD11> {   [ Cyrillic_sha,      Cyrillic_SHA        ]    };
131   key <AD12> {   [ Cyrillic_shcha,    Cyrillic_SHCHA      ]    };
132
133   key <LatA> {   [ Cyrillic_a,        Cyrillic_A          ]    };
134   key <LatS> {   [ Cyrillic_es,       Cyrillic_ES         ]    };
135   key <LatD> {   [ Cyrillic_de,       Cyrillic_DE         ]    };
136   key <LatF> {   [ Cyrillic_ef,       Cyrillic_EF         ]    };
137   key <LatG> {   [ Cyrillic_ghe,      Cyrillic_GHE        ]    };
138   key <LatH> {   [ Cyrillic_ha,       Cyrillic_HA         ]    };
139   key <LatJ> {   [ Cyrillic_shorti,   Cyrillic_SHORTI     ]    };
140   key <LatK> {   [ Cyrillic_ka,       Cyrillic_KA         ]    };
141   key <LatL> {   [ Cyrillic_el,       Cyrillic_EL         ]    };
142   key <AC10> {   [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
143   key <AC11> {   [ Cyrillic_che,      Cyrillic_CHE        ]    };
144   key <BKSL> {   [ Cyrillic_yu,       Cyrillic_YU         ]    };
145
146   key <LatZ> {   [ Cyrillic_ze,       Cyrillic_ZE         ]    };
147   key <LatX> {   [ Cyrillic_softsign, Cyrillic_SOFTSIGN   ]    };
148   key <LatC> {   [ Cyrillic_tse,      Cyrillic_TSE        ]    };
149   key <LatV> {   [ Cyrillic_zhe,      Cyrillic_ZHE        ]    };
150   key <LatB> {   [ Cyrillic_be,       Cyrillic_BE         ]    };
151   key <LatN> {   [ Cyrillic_en,       Cyrillic_EN         ]    };
152   key <LatM> {   [ Cyrillic_em,       Cyrillic_EM         ]    };
153   key <AB08> {   [ Ukrainian_yi,      Ukrainian_YI        ]    };
154   key <AB09> {   [ Ukrainian_ie,      Ukrainian_IE        ]    };
155   key <AB10> {   [ slash,             question            ]    };
156 };
157
158 // ukrainian keyboard layout RSTU 2019-91 (Respublikanskij STandart Ukrajiny)
159 // Andrew Porokhnyak <aop@porokhnyak.org>
160 partial alphanumeric_keys
161 xkb_symbols "rstu" {
162     include "ua(basic)"
163
164     name[Group1]= "Ukraine - Standard RSTU";
165
166     key <TLDE> {        [      apostrophe,        question      ]       };
167     key <AE01> {        [          exclam,               1      ]       };
168     key <AE02> {        [        quotedbl,               2      ]       };
169     key <AE03> {        [      numbersign,               3      ]       };
170     key <AE04> {        [       semicolon,               4      ]       };
171     key <AE05> {        [           colon,               5      ]       };
172     key <AE06> {        [           comma,               6      ]       };
173     key <AE07> {        [          period,               7      ]       };
174     key <AE08> {        [        asterisk,               8      ]       };
175     key <AE09> {        [       parenleft,               9      ]       };
176     key <AE10> {        [      parenright,               0      ]       };
177
178     key <AD12> {        [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
179
180     key <AC02> {        [      Cyrillic_i,      Cyrillic_I      ]       };
181
182     key <AB05> {        [     Ukrainian_i,     Ukrainian_I      ]       };
183
184     key <AB10> {        [    Ukrainian_yi,    Ukrainian_YI      ]       };
185
186     key <BKSL> {        [           slash,         percent      ]       };
187 };
188
189 // russian keyboard layout RSTU 2019-91 (Respublikanskij STandart Ukrajiny)
190 // Andrew Porokhnyak <aop@porokhnyak.org>
191 partial alphanumeric_keys
192 xkb_symbols "rstu_ru" {
193     include "ru(basic)"
194     name[Group1]= "Ukraine - Standard RSTU on Russian layout";
195
196     key <TLDE> {        [      apostrophe,        question      ]       };
197     key <AE01> {        [          exclam,               1      ]       };
198     key <AE02> {        [        quotedbl,               2      ]       };
199     key <AE03> {        [      numbersign,               3      ]       };
200     key <AE04> {        [       semicolon,               4      ]       };
201     key <AE05> {        [           colon,               5      ]       };
202     key <AE06> {        [           comma,               6      ]       };
203     key <AE07> {        [          period,               7      ]       };
204     key <AE08> {        [        asterisk,               8      ]       };
205     key <AE09> {        [       parenleft,               9      ]       };
206     key <AE10> {        [      parenright,               0      ]       };
207     key <BKSL> {        [           slash,         percent      ]       };
208
209 key.type[group1]="ALPHABETIC";
210
211     key <AB10> {        [     Cyrillic_io,     Cyrillic_IO      ]       };
212 };
213