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