|
1 /* |
|
2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0"" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Keymapping data implementation for |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 #include <PtiKeyMapData.h> |
|
30 |
|
31 #include <languages.hrh> |
|
32 |
|
33 #include "PtiKeymappings_ITUT_28.h" |
|
34 |
|
35 // |
|
36 // Multitap keymap data table |
|
37 // |
|
38 const TUint16 MultitapData_table_Slovenian[] = |
|
39 { |
|
40 0x2e,0x2c,0x3f,0x21,0x31,0x40,0x27,0x2d,0x5f,0x28,0x29,0x3a,0x3b,0x26,0x2f,0x25,0x2a,0x23,0x2b,0x3c,0x3d,0x3e,0x22,0x24,0xa3,0xa7,0xa5,0xa4,0xa1,0xbf, |
|
41 0x61,0x62,0x63,0x10d,0x32,0xe1,0xe2,0xe4,0x103,0x105,0x107, |
|
42 0x64,0x65,0x66,0x33,0x10f,0x111,0xe9,0x119,0x11b, |
|
43 0x67,0x68,0x69,0x34,0xed,0xee, |
|
44 0x6a,0x6b,0x6c,0x35,0x13a,0x13e,0x142,0xa3, |
|
45 0x6d,0x6e,0x6f,0x36,0x144,0x148,0xf3,0xf4,0xf6,0x151, |
|
46 0x70,0x71,0x72,0x73,0x161,0x37,0x155,0x159,0x15b,0x15f,0xdf,0x24, |
|
47 0x74,0x75,0x76,0x38,0x163,0x165,0xfa,0xfc,0x16f,0x171, |
|
48 0x77,0x78,0x79,0x7a,0x17e,0x39,0xfd,0x17a,0x17c, |
|
49 0x20,0x30,0x21b2, |
|
50 0x2e,0x2c,0x3f,0x21,0x31,0x40,0x27,0x2d,0x5f,0x28,0x29,0x3a,0x3b,0x26,0x2f,0x25,0x2a,0x23,0x2b,0x3c,0x3d,0x3e,0x22,0x24,0xa3,0xa7,0xa5,0xa4,0xa1,0xbf, |
|
51 0x41,0x42,0x43,0x10c,0x32,0xc1,0xc2,0xc4,0x102,0x104,0x106, |
|
52 0x44,0x45,0x46,0x33,0x10e,0x110,0xc9,0x118,0x11a, |
|
53 0x47,0x48,0x49,0x34,0xcd,0xce, |
|
54 0x4a,0x4b,0x4c,0x35,0x139,0x13d,0x141,0xa3, |
|
55 0x4d,0x4e,0x4f,0x36,0x143,0x147,0xd3,0xd4,0xd6,0x150, |
|
56 0x50,0x51,0x52,0x53,0x160,0x37,0x154,0x158,0x15a,0x15e,0x24, |
|
57 0x54,0x55,0x56,0x38,0x162,0x164,0xda,0xdc,0x16e,0x170, |
|
58 0x57,0x58,0x59,0x5a,0x17d,0x39,0xdd,0x179,0x17b, |
|
59 0x20,0x30,0x21b2, |
|
60 }; |
|
61 |
|
62 const TInt KMultitapDataSize_Slovenian = 215; |
|
63 |
|
64 |
|
65 const TPtiKeyBinding MultitapKeyBindings_table_Slovenian[] = |
|
66 { |
|
67 {EPtiKey1, EPtiCaseLower, 0, 30}, |
|
68 {EPtiKey2, EPtiCaseLower, 30, 11}, |
|
69 {EPtiKey3, EPtiCaseLower, 41, 9}, |
|
70 {EPtiKey4, EPtiCaseLower, 50, 6}, |
|
71 {EPtiKey5, EPtiCaseLower, 56, 8}, |
|
72 {EPtiKey6, EPtiCaseLower, 64, 10}, |
|
73 {EPtiKey7, EPtiCaseLower, 74, 12}, |
|
74 {EPtiKey8, EPtiCaseLower, 86, 10}, |
|
75 {EPtiKey9, EPtiCaseLower, 96, 9}, |
|
76 {EPtiKeyStar, EPtiCaseLower, 105, 0}, |
|
77 {EPtiKey0, EPtiCaseLower, 105, 3}, |
|
78 {EPtiKeyHash, EPtiCaseLower, 108, 0}, |
|
79 {EPtiKey1, EPtiCaseUpper, 108, 30}, |
|
80 {EPtiKey2, EPtiCaseUpper, 138, 11}, |
|
81 {EPtiKey3, EPtiCaseUpper, 149, 9}, |
|
82 {EPtiKey4, EPtiCaseUpper, 158, 6}, |
|
83 {EPtiKey5, EPtiCaseUpper, 164, 8}, |
|
84 {EPtiKey6, EPtiCaseUpper, 172, 10}, |
|
85 {EPtiKey7, EPtiCaseUpper, 182, 11}, |
|
86 {EPtiKey8, EPtiCaseUpper, 193, 10}, |
|
87 {EPtiKey9, EPtiCaseUpper, 203, 9}, |
|
88 {EPtiKeyStar, EPtiCaseUpper, 212, 0}, |
|
89 {EPtiKey0, EPtiCaseUpper, 212, 3}, |
|
90 {EPtiKeyHash, EPtiCaseUpper, 215, 0}, |
|
91 }; |
|
92 |
|
93 const TInt KMaxMultitapIndex_Slovenian = 24; |
|
94 |
|
95 // |
|
96 // StandardQwerty keymap data table |
|
97 // |
|
98 const TUint16 StandardQwertyData_table_Slovenian[] = |
|
99 { |
|
100 0x31, |
|
101 0x32, |
|
102 0x33, |
|
103 0x34, |
|
104 0x35, |
|
105 0x36, |
|
106 0x37, |
|
107 0x38, |
|
108 0x39, |
|
109 0x30, |
|
110 0x2d, |
|
111 0x71, |
|
112 0x77, |
|
113 0x65,0xe9,0x119,0x11b, |
|
114 0x72,0x155,0x159, |
|
115 0x74,0x163,0x165, |
|
116 0x7a,0x17a,0x17c, |
|
117 0x75,0xfa,0xfc,0x16f,0x171, |
|
118 0x69,0xed,0xee, |
|
119 0x6f,0xf3,0xf4,0xf6,0x151, |
|
120 0x70, |
|
121 0x161,0x111, |
|
122 0x2b, |
|
123 0x61,0xe1,0xe2,0xe4,0x103,0x105, |
|
124 0x73,0xdf,0x15b,0x15f, |
|
125 0x64,0x10f,0x111, |
|
126 0x66, |
|
127 0x67, |
|
128 0x68, |
|
129 0x6a, |
|
130 0x6b, |
|
131 0x6c,0x142,0x13e,0x13a, |
|
132 0x10d, |
|
133 0x107, |
|
134 0x79,0xfd, |
|
135 0x78, |
|
136 0x63, |
|
137 0x76, |
|
138 0x62, |
|
139 0x6e,0x144,0x148, |
|
140 0x6d, |
|
141 0x2c, |
|
142 0x2e, |
|
143 0x17e, |
|
144 0x21, |
|
145 0x22, |
|
146 0x23, |
|
147 0x24, |
|
148 0x40, |
|
149 0x27, |
|
150 0x2f, |
|
151 0x28, |
|
152 0x29, |
|
153 0x3f, |
|
154 0x3d, |
|
155 0x51, |
|
156 0x57, |
|
157 0x45,0xc9,0x118,0x11a, |
|
158 0x52,0x154,0x158, |
|
159 0x54,0x162,0x164, |
|
160 0x5a,0x179,0x17b, |
|
161 0x55,0xda,0xdc,0x16e,0x170, |
|
162 0x49,0xcd,0xce, |
|
163 0x4f,0xd3,0xd4,0xd6,0x150, |
|
164 0x50, |
|
165 0x160,0x110, |
|
166 0x2a, |
|
167 0x41,0xc1,0xc2,0xc4,0x102,0x104, |
|
168 0x53,0x15a,0x15e, |
|
169 0x44,0x10e,0x110, |
|
170 0x46, |
|
171 0x47, |
|
172 0x48, |
|
173 0x4a, |
|
174 0x4b, |
|
175 0x4c,0x141,0x13d,0x139, |
|
176 0x10c, |
|
177 0x106, |
|
178 0x59,0xdd, |
|
179 0x58, |
|
180 0x43, |
|
181 0x56, |
|
182 0x42, |
|
183 0x4e,0x143,0x147, |
|
184 0x4d, |
|
185 0x3b, |
|
186 0x3a, |
|
187 0x17d, |
|
188 }; |
|
189 |
|
190 const TInt KStandardQwertyDataSize_Slovenian = 159; |
|
191 |
|
192 |
|
193 const TPtiKeyBinding StandardQwertyKeyBindings_table_Slovenian[] = |
|
194 { |
|
195 {EPtiKeyQwerty1, EPtiCaseLower, 0, 1}, |
|
196 {EPtiKeyQwerty2, EPtiCaseLower, 1, 1}, |
|
197 {EPtiKeyQwerty3, EPtiCaseLower, 2, 1}, |
|
198 {EPtiKeyQwerty4, EPtiCaseLower, 3, 1}, |
|
199 {EPtiKeyQwerty5, EPtiCaseLower, 4, 1}, |
|
200 {EPtiKeyQwerty6, EPtiCaseLower, 5, 1}, |
|
201 {EPtiKeyQwerty7, EPtiCaseLower, 6, 1}, |
|
202 {EPtiKeyQwerty8, EPtiCaseLower, 7, 1}, |
|
203 {EPtiKeyQwerty9, EPtiCaseLower, 8, 1}, |
|
204 {EPtiKeyQwerty0, EPtiCaseLower, 9, 1}, |
|
205 {EPtiKeyQwertyPlus, EPtiCaseLower, 10, 1}, |
|
206 {EPtiKeyQwertyQ, EPtiCaseLower, 11, 1}, |
|
207 {EPtiKeyQwertyW, EPtiCaseLower, 12, 1}, |
|
208 {EPtiKeyQwertyE, EPtiCaseLower, 13, 4}, |
|
209 {EPtiKeyQwertyR, EPtiCaseLower, 17, 3}, |
|
210 {EPtiKeyQwertyT, EPtiCaseLower, 20, 3}, |
|
211 {EPtiKeyQwertyY, EPtiCaseLower, 23, 3}, |
|
212 {EPtiKeyQwertyU, EPtiCaseLower, 26, 5}, |
|
213 {EPtiKeyQwertyI, EPtiCaseLower, 31, 3}, |
|
214 {EPtiKeyQwertyO, EPtiCaseLower, 34, 5}, |
|
215 {EPtiKeyQwertyP, EPtiCaseLower, 39, 1}, |
|
216 {EPtiKeyQwertyMinus, EPtiCaseLower, 40, 2}, |
|
217 {EPtiKeyQwertyHash, EPtiCaseLower, 42, 1}, |
|
218 {EPtiKeyQwertyA, EPtiCaseLower, 43, 6}, |
|
219 {EPtiKeyQwertyS, EPtiCaseLower, 49, 4}, |
|
220 {EPtiKeyQwertyD, EPtiCaseLower, 53, 3}, |
|
221 {EPtiKeyQwertyF, EPtiCaseLower, 56, 1}, |
|
222 {EPtiKeyQwertyG, EPtiCaseLower, 57, 1}, |
|
223 {EPtiKeyQwertyH, EPtiCaseLower, 58, 1}, |
|
224 {EPtiKeyQwertyJ, EPtiCaseLower, 59, 1}, |
|
225 {EPtiKeyQwertyK, EPtiCaseLower, 60, 1}, |
|
226 {EPtiKeyQwertyL, EPtiCaseLower, 61, 4}, |
|
227 {EPtiKeyQwertySemicolon, EPtiCaseLower, 65, 1}, |
|
228 {EPtiKeyQwertyApostrophe, EPtiCaseLower, 66, 1}, |
|
229 {EPtiKeyQwertyZ, EPtiCaseLower, 67, 2}, |
|
230 {EPtiKeyQwertyX, EPtiCaseLower, 69, 1}, |
|
231 {EPtiKeyQwertyC, EPtiCaseLower, 70, 1}, |
|
232 {EPtiKeyQwertyV, EPtiCaseLower, 71, 1}, |
|
233 {EPtiKeyQwertyB, EPtiCaseLower, 72, 1}, |
|
234 {EPtiKeyQwertyN, EPtiCaseLower, 73, 3}, |
|
235 {EPtiKeyQwertyM, EPtiCaseLower, 76, 1}, |
|
236 {EPtiKeyQwertyComma, EPtiCaseLower, 77, 1}, |
|
237 {EPtiKeyQwertyFullstop, EPtiCaseLower, 78, 1}, |
|
238 {EPtiKeyQwertySlash, EPtiCaseLower, 79, 1}, |
|
239 {EPtiKeyQwerty1, EPtiCaseUpper, 80, 1}, |
|
240 {EPtiKeyQwerty2, EPtiCaseUpper, 81, 1}, |
|
241 {EPtiKeyQwerty3, EPtiCaseUpper, 82, 1}, |
|
242 {EPtiKeyQwerty4, EPtiCaseUpper, 83, 1}, |
|
243 {EPtiKeyQwerty5, EPtiCaseUpper, 84, 1}, |
|
244 {EPtiKeyQwerty6, EPtiCaseUpper, 85, 1}, |
|
245 {EPtiKeyQwerty7, EPtiCaseUpper, 86, 1}, |
|
246 {EPtiKeyQwerty8, EPtiCaseUpper, 87, 1}, |
|
247 {EPtiKeyQwerty9, EPtiCaseUpper, 88, 1}, |
|
248 {EPtiKeyQwerty0, EPtiCaseUpper, 89, 1}, |
|
249 {EPtiKeyQwertyPlus, EPtiCaseUpper, 90, 1}, |
|
250 {EPtiKeyQwertyQ, EPtiCaseUpper, 91, 1}, |
|
251 {EPtiKeyQwertyW, EPtiCaseUpper, 92, 1}, |
|
252 {EPtiKeyQwertyE, EPtiCaseUpper, 93, 4}, |
|
253 {EPtiKeyQwertyR, EPtiCaseUpper, 97, 3}, |
|
254 {EPtiKeyQwertyT, EPtiCaseUpper, 100, 3}, |
|
255 {EPtiKeyQwertyY, EPtiCaseUpper, 103, 3}, |
|
256 {EPtiKeyQwertyU, EPtiCaseUpper, 106, 5}, |
|
257 {EPtiKeyQwertyI, EPtiCaseUpper, 111, 3}, |
|
258 {EPtiKeyQwertyO, EPtiCaseUpper, 114, 5}, |
|
259 {EPtiKeyQwertyP, EPtiCaseUpper, 119, 1}, |
|
260 {EPtiKeyQwertyMinus, EPtiCaseUpper, 120, 2}, |
|
261 {EPtiKeyQwertyHash, EPtiCaseUpper, 122, 1}, |
|
262 {EPtiKeyQwertyA, EPtiCaseUpper, 123, 6}, |
|
263 {EPtiKeyQwertyS, EPtiCaseUpper, 129, 3}, |
|
264 {EPtiKeyQwertyD, EPtiCaseUpper, 132, 3}, |
|
265 {EPtiKeyQwertyF, EPtiCaseUpper, 135, 1}, |
|
266 {EPtiKeyQwertyG, EPtiCaseUpper, 136, 1}, |
|
267 {EPtiKeyQwertyH, EPtiCaseUpper, 137, 1}, |
|
268 {EPtiKeyQwertyJ, EPtiCaseUpper, 138, 1}, |
|
269 {EPtiKeyQwertyK, EPtiCaseUpper, 139, 1}, |
|
270 {EPtiKeyQwertyL, EPtiCaseUpper, 140, 4}, |
|
271 {EPtiKeyQwertySemicolon, EPtiCaseUpper, 144, 1}, |
|
272 {EPtiKeyQwertyApostrophe, EPtiCaseUpper, 145, 1}, |
|
273 {EPtiKeyQwertyZ, EPtiCaseUpper, 146, 2}, |
|
274 {EPtiKeyQwertyX, EPtiCaseUpper, 148, 1}, |
|
275 {EPtiKeyQwertyC, EPtiCaseUpper, 149, 1}, |
|
276 {EPtiKeyQwertyV, EPtiCaseUpper, 150, 1}, |
|
277 {EPtiKeyQwertyB, EPtiCaseUpper, 151, 1}, |
|
278 {EPtiKeyQwertyN, EPtiCaseUpper, 152, 3}, |
|
279 {EPtiKeyQwertyM, EPtiCaseUpper, 155, 1}, |
|
280 {EPtiKeyQwertyComma, EPtiCaseUpper, 156, 1}, |
|
281 {EPtiKeyQwertyFullstop, EPtiCaseUpper, 157, 1}, |
|
282 {EPtiKeyQwertySlash, EPtiCaseUpper, 158, 1}, |
|
283 }; |
|
284 |
|
285 const TInt KMaxStandardQwertyIndex_Slovenian = 88; |
|
286 |
|
287 // |
|
288 // MiniQwerty keymap data table |
|
289 // |
|
290 const TUint16 MiniQwertyData_table_Slovenian[] = |
|
291 { |
|
292 0x0071, |
|
293 0x0077, |
|
294 0x0065,0x00E9,0x0119,0x011B, |
|
295 0x0072,0x0155,0x0159, |
|
296 0x0074,0x0163,0x0165, |
|
297 0x007A,0x017E,0x017A,0x017C, |
|
298 0x0075,0x00FA,0x00FC,0x016F,0x0171, |
|
299 0x0069,0x00ED,0x00EE, |
|
300 0x006F,0x00F3,0x00F4,0x00F6,0x0151, |
|
301 0x0070, |
|
302 0x0061,0x00E1,0x00E2,0x00E4,0x0103,0x0105, |
|
303 0x0073,0x0161,0x00DF,0x015B,0x015F, |
|
304 0x0064,0x010F,0x0111, |
|
305 0x0066, |
|
306 0x0067, |
|
307 0x0068, |
|
308 0x006A, |
|
309 0x006B, |
|
310 0x006C,0x0142,0x013E,0x013A, |
|
311 0x0079,0x00FD, |
|
312 0x0078, |
|
313 0x0063,0x010D,0x0107, |
|
314 0x0076, |
|
315 0x0062, |
|
316 0x006E,0x0144,0x0148, |
|
317 0x006D, |
|
318 0x002C, |
|
319 0x002E, |
|
320 0x0040, |
|
321 0x0021, |
|
322 0x0027, |
|
323 0x003F, |
|
324 0x0051, |
|
325 0x0057, |
|
326 0x0045,0x00C9,0x0118,0x011A, |
|
327 0x0052,0x0154,0x0158, |
|
328 0x0054,0x0162,0x0164, |
|
329 0x005A,0x017D,0x0179,0x017B, |
|
330 0x0055,0x00DA,0x00DC,0x016E,0x0170, |
|
331 0x0049,0x00CD,0x00CE, |
|
332 0x004F,0x00D3,0x00D4,0x00D6,0x0150, |
|
333 0x0050, |
|
334 0x0041,0x00C1,0x00C2,0x00C4,0x0102,0x0104, |
|
335 0x0053,0x0160,0x015A,0x015E, |
|
336 0x0044,0x010E,0x0110, |
|
337 0x0046, |
|
338 0x0047, |
|
339 0x0048, |
|
340 0x004A, |
|
341 0x004B, |
|
342 0x004C,0x0141,0x013D,0x0139, |
|
343 0x0059,0x00DD, |
|
344 0x0058, |
|
345 0x0043,0x010C,0x0106, |
|
346 0x0056, |
|
347 0x0042, |
|
348 0x004E,0x0143,0x0147, |
|
349 0x004D, |
|
350 0x003B, |
|
351 0x003A, |
|
352 0x0161, |
|
353 0x0111, |
|
354 0x0031, |
|
355 0x0031, |
|
356 0x0032, |
|
357 0x0032, |
|
358 0x0033, |
|
359 0x0033, |
|
360 0x002B, |
|
361 0x0109, |
|
362 0x0107, |
|
363 0x0034, |
|
364 0x0034, |
|
365 0x0035, |
|
366 0x0035, |
|
367 0x0036, |
|
368 0x0036, |
|
369 0x002D, |
|
370 0x017E, |
|
371 0x002F, |
|
372 0x0037, |
|
373 0x0037, |
|
374 0x0038, |
|
375 0x0038, |
|
376 0x0039, |
|
377 0x0039, |
|
378 0x003D, |
|
379 0x002A, |
|
380 0x002A, |
|
381 0x0030, |
|
382 0x0030, |
|
383 0x0023, |
|
384 0x0023, |
|
385 0x0160, |
|
386 0x0110, |
|
387 0x0108, |
|
388 0x0106, |
|
389 0x017D, |
|
390 }; |
|
391 |
|
392 const TInt KMiniQwertyDataSize_Slovenian = 175; |
|
393 |
|
394 |
|
395 const TPtiKeyBinding MiniQwertyKeyBindings_table_Slovenian[] = |
|
396 { |
|
397 {EPtiKeyQwerty1, EPtiCaseLower, 0, 1}, |
|
398 {EPtiKeyQwerty2, EPtiCaseLower, 1, 1}, |
|
399 {EPtiKeyQwerty3, EPtiCaseLower, 2, 4}, |
|
400 {EPtiKeyQwerty4, EPtiCaseLower, 6, 3}, |
|
401 {EPtiKeyQwerty5, EPtiCaseLower, 9, 3}, |
|
402 {EPtiKeyQwerty6, EPtiCaseLower, 12, 4}, |
|
403 {EPtiKeyQwerty7, EPtiCaseLower, 16, 5}, |
|
404 {EPtiKeyQwerty8, EPtiCaseLower, 21, 3}, |
|
405 {EPtiKeyQwerty9, EPtiCaseLower, 24, 5}, |
|
406 {EPtiKeyQwerty0, EPtiCaseLower, 29, 1}, |
|
407 {EPtiKeyQwertyA, EPtiCaseLower, 30, 6}, |
|
408 {EPtiKeyQwertyS, EPtiCaseLower, 36, 5}, |
|
409 {EPtiKeyQwertyD, EPtiCaseLower, 41, 3}, |
|
410 {EPtiKeyQwertyF, EPtiCaseLower, 44, 1}, |
|
411 {EPtiKeyQwertyG, EPtiCaseLower, 45, 1}, |
|
412 {EPtiKeyQwertyH, EPtiCaseLower, 46, 1}, |
|
413 {EPtiKeyQwertyJ, EPtiCaseLower, 47, 1}, |
|
414 {EPtiKeyQwertyK, EPtiCaseLower, 48, 1}, |
|
415 {EPtiKeyQwertyL, EPtiCaseLower, 49, 4}, |
|
416 {EPtiKeyQwertyZ, EPtiCaseLower, 53, 2}, |
|
417 {EPtiKeyQwertyX, EPtiCaseLower, 55, 1}, |
|
418 {EPtiKeyQwertyC, EPtiCaseLower, 56, 3}, |
|
419 {EPtiKeyQwertyV, EPtiCaseLower, 59, 1}, |
|
420 {EPtiKeyQwertyB, EPtiCaseLower, 60, 1}, |
|
421 {EPtiKeyQwertyN, EPtiCaseLower, 61, 3}, |
|
422 {EPtiKeyQwertyM, EPtiCaseLower, 64, 1}, |
|
423 {EPtiKeyQwertyComma, EPtiCaseLower, 65, 1}, |
|
424 {EPtiKeyQwertyFullstop, EPtiCaseLower, 66, 1}, |
|
425 {EPtiKeyQwerty1, EPtiCaseUpper, 71, 1}, |
|
426 {EPtiKeyQwerty2, EPtiCaseUpper, 72, 1}, |
|
427 {EPtiKeyQwerty3, EPtiCaseUpper, 73, 4}, |
|
428 {EPtiKeyQwerty4, EPtiCaseUpper, 77, 3}, |
|
429 {EPtiKeyQwerty5, EPtiCaseUpper, 80, 3}, |
|
430 {EPtiKeyQwerty6, EPtiCaseUpper, 83, 4}, |
|
431 {EPtiKeyQwerty7, EPtiCaseUpper, 87, 5}, |
|
432 {EPtiKeyQwerty8, EPtiCaseUpper, 92, 3}, |
|
433 {EPtiKeyQwerty9, EPtiCaseUpper, 95, 5}, |
|
434 {EPtiKeyQwerty0, EPtiCaseUpper, 100, 1}, |
|
435 {EPtiKeyQwertyA, EPtiCaseUpper, 101, 6}, |
|
436 {EPtiKeyQwertyS, EPtiCaseUpper, 107, 4}, |
|
437 {EPtiKeyQwertyD, EPtiCaseUpper, 111, 3}, |
|
438 {EPtiKeyQwertyF, EPtiCaseUpper, 114, 1}, |
|
439 {EPtiKeyQwertyG, EPtiCaseUpper, 115, 1}, |
|
440 {EPtiKeyQwertyH, EPtiCaseUpper, 116, 1}, |
|
441 {EPtiKeyQwertyJ, EPtiCaseUpper, 117, 1}, |
|
442 {EPtiKeyQwertyK, EPtiCaseUpper, 118, 1}, |
|
443 {EPtiKeyQwertyL, EPtiCaseUpper, 119, 4}, |
|
444 {EPtiKeyQwertyZ, EPtiCaseUpper, 123, 2}, |
|
445 {EPtiKeyQwertyX, EPtiCaseUpper, 125, 1}, |
|
446 {EPtiKeyQwertyC, EPtiCaseUpper, 126, 3}, |
|
447 {EPtiKeyQwertyV, EPtiCaseUpper, 129, 1}, |
|
448 {EPtiKeyQwertyB, EPtiCaseUpper, 130, 1}, |
|
449 {EPtiKeyQwertyN, EPtiCaseUpper, 131, 3}, |
|
450 {EPtiKeyQwertyM, EPtiCaseUpper, 134, 1}, |
|
451 {EPtiKeyQwertyComma, EPtiCaseUpper, 135, 1}, |
|
452 {EPtiKeyQwertyFullstop, EPtiCaseUpper, 136, 1}, |
|
453 {EPtiKeyQwerty1, EPtiCaseFnLower, 137, 1}, |
|
454 {EPtiKeyQwerty2, EPtiCaseFnLower, 138, 1}, |
|
455 {EPtiKeyQwerty3, EPtiCaseFnLower, 139, 1}, |
|
456 {EPtiKeyQwerty4, EPtiCaseFnLower, 140, 1}, |
|
457 {EPtiKeyQwerty5, EPtiCaseFnLower, 141, 1}, |
|
458 {EPtiKeyQwerty6, EPtiCaseFnLower, 142, 1}, |
|
459 {EPtiKeyQwerty7, EPtiCaseFnLower, 143, 1}, |
|
460 {EPtiKeyQwerty8, EPtiCaseFnLower, 144, 1}, |
|
461 {EPtiKeyQwerty9, EPtiCaseFnLower, 145, 1}, |
|
462 {EPtiKeyQwertyA, EPtiCaseFnLower, 146, 1}, |
|
463 {EPtiKeyQwertyS, EPtiCaseFnLower, 147, 1}, |
|
464 {EPtiKeyQwertyD, EPtiCaseFnLower, 148, 1}, |
|
465 {EPtiKeyQwertyF, EPtiCaseFnLower, 149, 1}, |
|
466 {EPtiKeyQwertyG, EPtiCaseFnLower, 150, 1}, |
|
467 {EPtiKeyQwertyH, EPtiCaseFnLower, 151, 1}, |
|
468 {EPtiKeyQwertyJ, EPtiCaseFnLower, 152, 1}, |
|
469 {EPtiKeyQwertyK, EPtiCaseFnLower, 153, 1}, |
|
470 {EPtiKeyQwertyL, EPtiCaseFnLower, 154, 1}, |
|
471 {EPtiKeyQwertyZ, EPtiCaseFnLower, 155, 1}, |
|
472 {EPtiKeyQwertyX, EPtiCaseFnLower, 156, 1}, |
|
473 {EPtiKeyQwertyC, EPtiCaseFnLower, 157, 1}, |
|
474 {EPtiKeyQwertyV, EPtiCaseFnLower, 158, 1}, |
|
475 {EPtiKeyQwertyB, EPtiCaseFnLower, 159, 1}, |
|
476 {EPtiKeyQwertyN, EPtiCaseFnLower, 160, 1}, |
|
477 {EPtiKeyQwertyM, EPtiCaseFnLower, 161, 1}, |
|
478 {EPtiKeyQwertyComma, EPtiCaseFnLower, 162, 1}, |
|
479 {EPtiKeyQwertyFullstop, EPtiCaseFnLower, 163, 1}, |
|
480 {EPtiKeyQwerty1, EPtiCaseFnUpper, 170, 1}, |
|
481 {EPtiKeyQwerty2, EPtiCaseFnUpper, 171, 1}, |
|
482 {EPtiKeyQwertyA, EPtiCaseFnUpper, 172, 1}, |
|
483 {EPtiKeyQwertyS, EPtiCaseFnUpper, 173, 1}, |
|
484 {EPtiKeyQwertyZ, EPtiCaseFnUpper, 174, 1}, |
|
485 }; |
|
486 |
|
487 const TInt KMaxMiniQwertyIndex_Slovenian = 88; |
|
488 |
|
489 // |
|
490 // Class implementation. |
|
491 // |
|
492 |
|
493 CPtiLangDataImplSlovenian* CPtiLangDataImplSlovenian::NewL() |
|
494 { |
|
495 return new (ELeave) CPtiLangDataImplSlovenian(); |
|
496 } |
|
497 |
|
498 |
|
499 TInt CPtiLangDataImplSlovenian::LanguageCode() const |
|
500 { |
|
501 return ELangSlovenian; |
|
502 } |
|
503 |
|
504 |
|
505 const TUint16* CPtiLangDataImplSlovenian::KeyData(TPtiKeyboardType aKeyboardType, TInt& aDataSize) const |
|
506 { |
|
507 if (aKeyboardType == EPtiKeyboard12Key) |
|
508 { |
|
509 aDataSize = KMultitapDataSize_Slovenian; |
|
510 return MultitapData_table_Slovenian; |
|
511 } |
|
512 if (aKeyboardType == EPtiKeyboardQwerty4x12) |
|
513 { |
|
514 aDataSize = KStandardQwertyDataSize_Slovenian; |
|
515 return StandardQwertyData_table_Slovenian; |
|
516 } |
|
517 |
|
518 if (aKeyboardType == EPtiKeyboardQwerty4x10) |
|
519 { |
|
520 aDataSize = KMiniQwertyDataSize_Slovenian; |
|
521 return MiniQwertyData_table_Slovenian; |
|
522 } |
|
523 |
|
524 aDataSize = 0; |
|
525 return NULL; |
|
526 } |
|
527 |
|
528 |
|
529 const TPtiKeyBinding* CPtiLangDataImplSlovenian::KeyBindingTable(TPtiKeyboardType aKeyboardType, TInt& aNumItems) const |
|
530 { |
|
531 if (aKeyboardType == EPtiKeyboard12Key) |
|
532 { |
|
533 aNumItems = KMaxMultitapIndex_Slovenian; |
|
534 return MultitapKeyBindings_table_Slovenian; |
|
535 } |
|
536 if (aKeyboardType == EPtiKeyboardQwerty4x12) |
|
537 { |
|
538 aNumItems = KMaxStandardQwertyIndex_Slovenian; |
|
539 return StandardQwertyKeyBindings_table_Slovenian; |
|
540 } |
|
541 if (aKeyboardType == EPtiKeyboardQwerty4x10) |
|
542 { |
|
543 aNumItems = KMaxMiniQwertyIndex_Slovenian; |
|
544 return MiniQwertyKeyBindings_table_Slovenian; |
|
545 } |
|
546 |
|
547 aNumItems = 0; |
|
548 return NULL; |
|
549 } |
|
550 |
|
551 |