textinput/ptienginev2/languages/PtiKeymappings_ITUT_09.cpp
branchRCL_3
changeset 20 ebd48d2de13c
parent 11 c8fb4cf7b3ae
child 21 ecbabf52600f
equal deleted inserted replaced
19:ac7e4d1d9209 20:ebd48d2de13c
     1 /*
     1 /*
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0""
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8 *
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    95 //
    95 //
    96 // StandardQwerty keymap data table
    96 // StandardQwerty keymap data table
    97 //
    97 //
    98 const TUint16 StandardQwertyData_table_Finnish[] =
    98 const TUint16 StandardQwertyData_table_Finnish[] =
    99     {
    99     {
       
   100      0x0031,
       
   101      0x0032,
       
   102      0x0033,
       
   103      0x0034,
       
   104      0x0035,
       
   105      0x0036,
       
   106      0x0037,
       
   107      0x0038,
       
   108      0x0039,
       
   109      0x0030,
       
   110      0x0023,
   100      0x0071,
   111      0x0071,
   101      0x0077,
   112      0x0077,
   102      0x0065,
   113      0x0065,0x00e9,0x00e8,0x00eb,0x00ea,
   103      0x0072,
   114      0x0072,
   104      0x0074,
   115      0x0074,0x00fe,
   105      0x0079,
   116      0x0079,0x00fd,
   106      0x0075,
   117      0x0075,0x00f9,0x00fa,0x00fb,0x00fc,
   107      0x0069,
   118      0x0069,0x00ee,0x00ef,0x00ec,0x00ed,
   108      0x006F,
   119      0x006f,0x00f8,0x00f2,0x00f3,0x00f4,0x00f5,
   109      0x0070,
   120      0x0070,
   110      0x00E5,
   121      0x00e5,
   111      0x0061,
   122      0x002b,
   112      0x0073,
   123      0x0061,0x00e6,0x00e0,0x00e1,0x00e2,0x00e3,
   113      0x0064,
   124      0x0073,0x0161,0x00DF,
       
   125      0x0064,0x00f0,
   114      0x0066,
   126      0x0066,
   115      0x0067,
   127      0x0067,
   116      0x0068,
   128      0x0068,
   117      0x006A,
   129      0x006a,
   118      0x006B,
   130      0x006b,
   119      0x006C,
   131      0x006c,
   120      0x00F6,
   132      0x00f6,0x00f8,
   121      0x00E4,
   133      0x00e4,0x00e6,
   122      0x007A,
   134      0x007A,0x017E,
   123      0x0078,
   135      0x0078,
   124      0x0063,
   136      0x0063,0x00e7,
   125      0x0076,
   137      0x0076,
   126      0x0062,
   138      0x0062,
   127      0x006E,
   139      0x006e,0x00f1,
   128      0x006D,
   140      0x006d,
   129      0x002C,
   141      0x002c,
   130      0x002E,
   142      0x002e,
   131      0x003F,
   143      0x002d,
   132      0x002D,
   144      0x0021,
       
   145      0x0022,
       
   146      0x0040,
       
   147      0x20ac,
       
   148      0x0025,
       
   149      0x0026,
       
   150      0x002f,
       
   151      0x0028,
       
   152      0x0029,
       
   153      0x003f,
       
   154      0x003d,
   133      0x0051,
   155      0x0051,
   134      0x0057,
   156      0x0057,
   135      0x0045,
   157      0x0045,0x00c9,0x00c8,0x00cb,0x00ca,
   136      0x0052,
   158      0x0052,
   137      0x0054,
   159      0x0054,0x00de,
   138      0x0059,
   160      0x0059,0x00dd,
   139      0x0055,
   161      0x0055,0x00dc,0x00d9,0x00db,0x00da,
   140      0x0049,
   162      0x0049,0x00ce,0x00cf,0x00cc,0x00cd,
   141      0x004F,
   163      0x004f,0x00d8,0x00d2,0x00d3,0x00d4,0x00d5,
   142      0x0050,
   164      0x0050,
   143      0x00C5,
   165      0x00c5,
   144      0x0041,
   166      0x002a,
   145      0x0053,
   167      0x0041,0x00c6,0x00c0,0x00c1,0x00c2,0x00c3,
   146      0x0044,
   168      0x0053,0x0160,
       
   169      0x0044,0x00d0,
   147      0x0046,
   170      0x0046,
   148      0x0047,
   171      0x0047,
   149      0x0048,
   172      0x0048,
   150      0x004A,
   173      0x004a,
   151      0x004B,
   174      0x004b,
   152      0x004C,
   175      0x004c,
   153      0x00D6,
   176      0x00d6,0x00d8,
   154      0x00C4,
   177      0x00c4,0x00c6,
   155      0x005A,
   178      0x005a,
   156      0x0058,
   179      0x0058,
   157      0x0043,
   180      0x0043,0x00c7,
   158      0x0056,
   181      0x0056,
   159      0x0042,
   182      0x0042,
   160      0x004E,
   183      0x004e,0x00d1,
   161      0x004D,
   184      0x004d,
       
   185      0x003b,
       
   186      0x003a,
   162      0x0027,
   187      0x0027,
   163      0x002F,
       
   164      0x0021,
       
   165      0x002B,
       
   166     };
   188     };
   167 
   189 
   168 const TInt KStandardQwertyDataSize_Finnish = 66;
   190 const TInt KStandardQwertyDataSize_Finnish = 150;
   169 
   191 
   170 
   192 
   171 const TPtiKeyBinding StandardQwertyKeyBindings_table_Finnish[] =
   193 const TPtiKeyBinding StandardQwertyKeyBindings_table_Finnish[] =
   172     {
   194     {
   173         {EPtiKeyQwertyAtCharacter, EPtiCaseLower, 0, 1},
   195         {EPtiKeyQwerty1, EPtiCaseLower, 0, 1},
   174         {EPtiKeyQwerty1, EPtiCaseLower, 1, 1},
   196         {EPtiKeyQwerty2, EPtiCaseLower, 1, 1},
   175         {EPtiKeyQwerty2, EPtiCaseLower, 2, 1},
   197         {EPtiKeyQwerty3, EPtiCaseLower, 2, 1},
   176         {EPtiKeyQwerty3, EPtiCaseLower, 3, 1},
   198         {EPtiKeyQwerty4, EPtiCaseLower, 3, 1},
   177         {EPtiKeyQwerty4, EPtiCaseLower, 4, 1},
   199         {EPtiKeyQwerty5, EPtiCaseLower, 4, 1},
   178         {EPtiKeyQwerty5, EPtiCaseLower, 5, 1},
   200         {EPtiKeyQwerty6, EPtiCaseLower, 5, 1},
   179         {EPtiKeyQwerty6, EPtiCaseLower, 6, 1},
   201         {EPtiKeyQwerty7, EPtiCaseLower, 6, 1},
   180         {EPtiKeyQwerty7, EPtiCaseLower, 7, 1},
   202         {EPtiKeyQwerty8, EPtiCaseLower, 7, 1},
   181         {EPtiKeyQwerty8, EPtiCaseLower, 8, 1},
   203         {EPtiKeyQwerty9, EPtiCaseLower, 8, 1},
   182         {EPtiKeyQwerty9, EPtiCaseLower, 9, 1},
   204         {EPtiKeyQwerty0, EPtiCaseLower, 9, 1},
   183         {EPtiKeyQwerty0, EPtiCaseLower, 10, 1},
   205         {EPtiKeyQwertyPlus, EPtiCaseLower, 10, 1},
   184         {EPtiKeyQwertyPlus, EPtiCaseLower, 11, 1},
   206         {EPtiKeyQwertyQ, EPtiCaseLower, 11, 1},
   185         {EPtiKeyQwertyQ, EPtiCaseLower, 12, 1},
   207         {EPtiKeyQwertyW, EPtiCaseLower, 12, 1},
   186         {EPtiKeyQwertyW, EPtiCaseLower, 13, 1},
   208         {EPtiKeyQwertyE, EPtiCaseLower, 13, 5},
   187         {EPtiKeyQwertyE, EPtiCaseLower, 14, 1},
   209         {EPtiKeyQwertyR, EPtiCaseLower, 18, 1},
   188         {EPtiKeyQwertyR, EPtiCaseLower, 15, 1},
   210         {EPtiKeyQwertyT, EPtiCaseLower, 19, 2},
   189         {EPtiKeyQwertyT, EPtiCaseLower, 16, 1},
   211         {EPtiKeyQwertyY, EPtiCaseLower, 21, 2},
   190         {EPtiKeyQwertyY, EPtiCaseLower, 17, 1},
   212         {EPtiKeyQwertyU, EPtiCaseLower, 23, 5},
   191         {EPtiKeyQwertyU, EPtiCaseLower, 18, 1},
   213         {EPtiKeyQwertyI, EPtiCaseLower, 28, 5},
   192         {EPtiKeyQwertyI, EPtiCaseLower, 19, 1},
   214         {EPtiKeyQwertyO, EPtiCaseLower, 33, 6},
   193         {EPtiKeyQwertyO, EPtiCaseLower, 20, 1},
   215         {EPtiKeyQwertyP, EPtiCaseLower, 39, 1},
   194         {EPtiKeyQwertyP, EPtiCaseLower, 21, 1},
   216         {EPtiKeyQwertyMinus, EPtiCaseLower, 40, 1},
   195         {EPtiKeyQwertyMinus, EPtiCaseLower, 22, 0},
   217         {EPtiKeyQwertyHash, EPtiCaseLower, 41, 1},
   196         {EPtiKeyQwertyHash, EPtiCaseLower, 22, 1},
   218         {EPtiKeyQwertyA, EPtiCaseLower, 42, 6},
   197         {EPtiKeyQwertyA, EPtiCaseLower, 23, 1},
   219         {EPtiKeyQwertyS, EPtiCaseLower, 48, 3},
   198         {EPtiKeyQwertyS, EPtiCaseLower, 24, 1},
   220         {EPtiKeyQwertyD, EPtiCaseLower, 51, 2},
   199         {EPtiKeyQwertyD, EPtiCaseLower, 25, 1},
   221         {EPtiKeyQwertyF, EPtiCaseLower, 53, 1},
   200         {EPtiKeyQwertyF, EPtiCaseLower, 26, 1},
   222         {EPtiKeyQwertyG, EPtiCaseLower, 54, 1},
   201         {EPtiKeyQwertyG, EPtiCaseLower, 27, 1},
   223         {EPtiKeyQwertyH, EPtiCaseLower, 55, 1},
   202         {EPtiKeyQwertyH, EPtiCaseLower, 28, 1},
   224         {EPtiKeyQwertyJ, EPtiCaseLower, 56, 1},
   203         {EPtiKeyQwertyJ, EPtiCaseLower, 29, 1},
   225         {EPtiKeyQwertyK, EPtiCaseLower, 57, 1},
   204         {EPtiKeyQwertyK, EPtiCaseLower, 30, 1},
   226         {EPtiKeyQwertyL, EPtiCaseLower, 58, 1},
   205         {EPtiKeyQwertyL, EPtiCaseLower, 31, 1},
   227         {EPtiKeyQwertySemicolon, EPtiCaseLower, 59, 2},
   206         {EPtiKeyQwertySemicolon, EPtiCaseLower, 32, 1},
   228         {EPtiKeyQwertyApostrophe, EPtiCaseLower, 61, 2},
   207         {EPtiKeyQwertyApostrophe, EPtiCaseLower, 33, 0},
   229         {EPtiKeyQwertyZ, EPtiCaseLower, 63, 2},
   208         {0x5b, EPtiCaseLower, 33, 0},
   230         {EPtiKeyQwertyX, EPtiCaseLower, 65, 1},
   209         {EPtiKeyQwertyZ, EPtiCaseLower, 33, 0},
   231         {EPtiKeyQwertyC, EPtiCaseLower, 66, 2},
   210         {EPtiKeyQwertyX, EPtiCaseLower, 33, 0},
   232         {EPtiKeyQwertyV, EPtiCaseLower, 68, 1},
   211         {EPtiKeyQwertyC, EPtiCaseLower, 33, 0},
   233         {EPtiKeyQwertyB, EPtiCaseLower, 69, 1},
   212         {EPtiKeyQwertyV, EPtiCaseLower, 33, 0},
   234         {EPtiKeyQwertyN, EPtiCaseLower, 70, 2},
   213         {EPtiKeyQwertyB, EPtiCaseLower, 33, 0},
   235         {EPtiKeyQwertyM, EPtiCaseLower, 72, 1},
   214         {EPtiKeyQwertyN, EPtiCaseLower, 33, 0},
   236         {EPtiKeyQwertyComma, EPtiCaseLower, 73, 1},
   215         {EPtiKeyQwertyM, EPtiCaseLower, 33, 0},
   237         {EPtiKeyQwertyFullstop, EPtiCaseLower, 74, 1},
   216         {EPtiKeyQwertyComma, EPtiCaseLower, 33, 0},
   238         {EPtiKeyQwertySlash, EPtiCaseLower, 75, 1},
   217         {EPtiKeyQwertyFullstop, EPtiCaseLower, 33, 0},
   239         {EPtiKeyQwerty1, EPtiCaseUpper, 76, 1},
   218         {EPtiKeyQwertySlash, EPtiCaseLower, 33, 0},
   240         {EPtiKeyQwerty2, EPtiCaseUpper, 77, 1},
   219         {EPtiKeyQwertyAtCharacter, EPtiCaseUpper, 33, 1},
   241         {EPtiKeyQwerty3, EPtiCaseUpper, 78, 1},
   220         {EPtiKeyQwerty1, EPtiCaseUpper, 34, 1},
   242         {EPtiKeyQwerty4, EPtiCaseUpper, 79, 1},
   221         {EPtiKeyQwerty2, EPtiCaseUpper, 35, 1},
   243         {EPtiKeyQwerty5, EPtiCaseUpper, 80, 1},
   222         {EPtiKeyQwerty3, EPtiCaseUpper, 36, 1},
   244         {EPtiKeyQwerty6, EPtiCaseUpper, 81, 1},
   223         {EPtiKeyQwerty4, EPtiCaseUpper, 37, 1},
   245         {EPtiKeyQwerty7, EPtiCaseUpper, 82, 1},
   224         {EPtiKeyQwerty5, EPtiCaseUpper, 38, 1},
   246         {EPtiKeyQwerty8, EPtiCaseUpper, 83, 1},
   225         {EPtiKeyQwerty6, EPtiCaseUpper, 39, 1},
   247         {EPtiKeyQwerty9, EPtiCaseUpper, 84, 1},
   226         {EPtiKeyQwerty7, EPtiCaseUpper, 40, 1},
   248         {EPtiKeyQwerty0, EPtiCaseUpper, 85, 1},
   227         {EPtiKeyQwerty8, EPtiCaseUpper, 41, 1},
   249         {EPtiKeyQwertyPlus, EPtiCaseUpper, 86, 1},
   228         {EPtiKeyQwerty9, EPtiCaseUpper, 42, 1},
   250         {EPtiKeyQwertyQ, EPtiCaseUpper, 87, 1},
   229         {EPtiKeyQwerty0, EPtiCaseUpper, 43, 1},
   251         {EPtiKeyQwertyW, EPtiCaseUpper, 88, 1},
   230         {EPtiKeyQwertyPlus, EPtiCaseUpper, 44, 1},
   252         {EPtiKeyQwertyE, EPtiCaseUpper, 89, 5},
   231         {EPtiKeyQwertyQ, EPtiCaseUpper, 45, 1},
   253         {EPtiKeyQwertyR, EPtiCaseUpper, 94, 1},
   232         {EPtiKeyQwertyW, EPtiCaseUpper, 46, 1},
   254         {EPtiKeyQwertyT, EPtiCaseUpper, 95, 2},
   233         {EPtiKeyQwertyE, EPtiCaseUpper, 47, 1},
   255         {EPtiKeyQwertyY, EPtiCaseUpper, 97, 2},
   234         {EPtiKeyQwertyR, EPtiCaseUpper, 48, 1},
   256         {EPtiKeyQwertyU, EPtiCaseUpper, 99, 5},
   235         {EPtiKeyQwertyT, EPtiCaseUpper, 49, 1},
   257         {EPtiKeyQwertyI, EPtiCaseUpper, 104, 5},
   236         {EPtiKeyQwertyY, EPtiCaseUpper, 50, 1},
   258         {EPtiKeyQwertyO, EPtiCaseUpper, 109, 6},
   237         {EPtiKeyQwertyU, EPtiCaseUpper, 51, 1},
   259         {EPtiKeyQwertyP, EPtiCaseUpper, 115, 1},
   238         {EPtiKeyQwertyI, EPtiCaseUpper, 52, 1},
   260         {EPtiKeyQwertyMinus, EPtiCaseUpper, 116, 1},
   239         {EPtiKeyQwertyO, EPtiCaseUpper, 53, 1},
   261         {EPtiKeyQwertyHash, EPtiCaseUpper, 117, 1},
   240         {EPtiKeyQwertyP, EPtiCaseUpper, 54, 1},
   262         {EPtiKeyQwertyA, EPtiCaseUpper, 118, 6},
   241         {EPtiKeyQwertyMinus, EPtiCaseUpper, 55, 0},
   263         {EPtiKeyQwertyS, EPtiCaseUpper, 124, 2},
   242         {EPtiKeyQwertyHash, EPtiCaseUpper, 55, 1},
   264         {EPtiKeyQwertyD, EPtiCaseUpper, 126, 2},
   243         {EPtiKeyQwertyA, EPtiCaseUpper, 56, 1},
   265         {EPtiKeyQwertyF, EPtiCaseUpper, 128, 1},
   244         {EPtiKeyQwertyS, EPtiCaseUpper, 57, 1},
   266         {EPtiKeyQwertyG, EPtiCaseUpper, 129, 1},
   245         {EPtiKeyQwertyD, EPtiCaseUpper, 58, 1},
   267         {EPtiKeyQwertyH, EPtiCaseUpper, 130, 1},
   246         {EPtiKeyQwertyF, EPtiCaseUpper, 59, 1},
   268         {EPtiKeyQwertyJ, EPtiCaseUpper, 131, 1},
   247         {EPtiKeyQwertyG, EPtiCaseUpper, 60, 1},
   269         {EPtiKeyQwertyK, EPtiCaseUpper, 132, 1},
   248         {EPtiKeyQwertyH, EPtiCaseUpper, 61, 1},
   270         {EPtiKeyQwertyL, EPtiCaseUpper, 133, 1},
   249         {EPtiKeyQwertyJ, EPtiCaseUpper, 62, 1},
   271         {EPtiKeyQwertySemicolon, EPtiCaseUpper, 134, 2},
   250         {EPtiKeyQwertyK, EPtiCaseUpper, 63, 1},
   272         {EPtiKeyQwertyApostrophe, EPtiCaseUpper, 136, 2},
   251         {EPtiKeyQwertyL, EPtiCaseUpper, 64, 1},
   273         {EPtiKeyQwertyZ, EPtiCaseUpper, 138, 1},
   252         {EPtiKeyQwertySemicolon, EPtiCaseUpper, 65, 1},
   274         {EPtiKeyQwertyX, EPtiCaseUpper, 139, 1},
   253         {EPtiKeyQwertyApostrophe, EPtiCaseUpper, 66, 0},
   275         {EPtiKeyQwertyC, EPtiCaseUpper, 140, 2},
   254         {0x5b, EPtiCaseUpper, 66, 0},
   276         {EPtiKeyQwertyV, EPtiCaseUpper, 142, 1},
   255         {EPtiKeyQwertyZ, EPtiCaseUpper, 66, 0},
   277         {EPtiKeyQwertyB, EPtiCaseUpper, 143, 1},
   256         {EPtiKeyQwertyX, EPtiCaseUpper, 66, 0},
   278         {EPtiKeyQwertyN, EPtiCaseUpper, 144, 2},
   257         {EPtiKeyQwertyC, EPtiCaseUpper, 66, 0},
   279         {EPtiKeyQwertyM, EPtiCaseUpper, 146, 1},
   258         {EPtiKeyQwertyV, EPtiCaseUpper, 66, 0},
   280         {EPtiKeyQwertyComma, EPtiCaseUpper, 147, 1},
   259         {EPtiKeyQwertyB, EPtiCaseUpper, 66, 0},
   281         {EPtiKeyQwertyFullstop, EPtiCaseUpper, 148, 1},
   260         {EPtiKeyQwertyN, EPtiCaseUpper, 66, 0},
   282         {EPtiKeyQwertySlash, EPtiCaseUpper, 149, 1},
   261         {EPtiKeyQwertyM, EPtiCaseUpper, 66, 0},
       
   262         {EPtiKeyQwertyComma, EPtiCaseUpper, 66, 0},
       
   263         {EPtiKeyQwertyFullstop, EPtiCaseUpper, 66, 0},
       
   264         {EPtiKeyQwertySlash, EPtiCaseUpper, 66, 0},
       
   265     };
   283     };
   266 
   284 
   267 const TInt KMaxStandardQwertyIndex_Finnish = 92;
   285 const TInt KMaxStandardQwertyIndex_Finnish = 88;
   268 
   286 
   269 //
   287 //
   270 // MiniQwerty keymap data table
   288 // MiniQwerty keymap data table
   271 //
   289 //
   272 const TUint16 MiniQwertyData_table_Finnish[] =
   290 const TUint16 MiniQwertyData_table_Finnish[] =