textinput/ptienginev2/languages/PtiKeymappings_ITUT_07.cpp
branchRCL_3
changeset 11 c8fb4cf7b3ae
parent 0 eb1f2e154e89
child 20 ebd48d2de13c
equal deleted inserted replaced
9:e6a39382bb9c 11:c8fb4cf7b3ae
     1 /*
     1 /*
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007 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 "Eclipse Public License v1.0""
     5 * under the terms of the License "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_Danish[] =
    98 const TUint16 StandardQwertyData_table_Danish[] =
    99     {
    99     {
   100      0x31,
   100      0x0071,
   101      0x32,
   101      0x0077,
   102      0x33,
   102      0x0065,
   103      0x34,
   103      0x0072,
   104      0x35,
   104      0x0074,
   105      0x36,
   105      0x0079,
   106      0x37,
   106      0x0075,
   107      0x38,
   107      0x0069,
   108      0x39,
   108      0x006F,
   109      0x30,
   109      0x0070,
   110      0x23,
   110      0x00E5,
   111      0x71,
   111      0x0061,
   112      0x77,
   112      0x0073,
   113      0x65,0xe9,0xe8,0xeb,0xea,
   113      0x0064,
   114      0x72,
   114      0x0066,
   115      0x74,0xfe,
   115      0x0067,
   116      0x79,0xfd,
   116      0x0068,
   117      0x75,0xfc,0xf9,0xfb,0xfa,
   117      0x006A,
   118      0x69,0xee,0xef,0xec,0xed,
   118      0x006B,
   119      0x6f,0xf6,0xf4,0xf2,0xf3,0xf5,
   119      0x006C,
   120      0x70,
   120      0x00E6,
   121      0xe5,
   121      0x00F8,
   122      0x2b,
   122      0x007A,
   123      0x61,0xe4,0xe0,0xe1,0xe2,0xe3,
   123      0x0078,
   124      0x73,0xdf,
   124      0x0063,
   125      0x64,0xf0,
   125      0x0076,
   126      0x66,
   126      0x0062,
   127      0x67,
   127      0x006E,
   128      0x68,
   128      0x006D,
   129      0x6a,
   129      0x002C,
   130      0x6b,
   130      0x002E,
   131      0x6c,
   131      0x003F,
   132      0xf8,0xf6,
   132      0x0027,
   133      0xe6,0xe4,
   133      0x0051,
   134      0x7a,
   134      0x0057,
   135      0x78,
   135      0x0045,
   136      0x63,0xe7,
   136      0x0052,
   137      0x76,
   137      0x0054,
   138      0x62,
   138      0x0059,
   139      0x6e,0xf1,
   139      0x0055,
   140      0x6d,
   140      0x0049,
   141      0x2c,
   141      0x004F,
   142      0x2e,
   142      0x0050,
   143      0x2d,
   143      0x00C5,
   144      0x21,
   144      0x0041,
   145      0x22,
   145      0x0053,
   146      0x40,
   146      0x0044,
   147      0x20ac,
   147      0x0046,
   148      0x25,
   148      0x0047,
   149      0x26,
   149      0x0048,
   150      0x2f,
   150      0x004A,
   151      0x28,
   151      0x004B,
   152      0x29,
   152      0x004C,
   153      0x3f,
   153      0x00C6,
   154      0x3d,
   154      0x00D8,
   155      0x51,
   155      0x005A,
   156      0x57,
   156      0x0058,
   157      0x45,0xc9,0xc8,0xcb,0xca,
   157      0x0043,
   158      0x52,
   158      0x0056,
   159      0x54,0xde,
   159      0x0042,
   160      0x59,0xdd,
   160      0x004E,
   161      0x55,0xdc,0xd9,0xdb,0xda,
   161      0x004D,
   162      0x49,0xce,0xcf,0xcc,0xcd,
   162      0x002B,
   163      0x4f,0xd6,0xd4,0xd2,0xd3,0xd5,
   163      0x002D,
   164      0x50,
   164      0x0021,
   165      0xc5,
   165      0x002F,
   166      0x2a,
       
   167      0x41,0xc4,0xc0,0xc1,0xc2,0xc3,
       
   168      0x53,
       
   169      0x44,0xd0,
       
   170      0x46,
       
   171      0x47,
       
   172      0x48,
       
   173      0x4a,
       
   174      0x4b,
       
   175      0x4c,
       
   176      0xd8,0xd6,
       
   177      0xc6,0xc4,
       
   178      0x5a,
       
   179      0x58,
       
   180      0x43,0xc7,
       
   181      0x56,
       
   182      0x42,
       
   183      0x4e,0xd1,
       
   184      0x4d,
       
   185      0x3b,
       
   186      0x3a,
       
   187      0x27,
       
   188     };
   166     };
   189 
   167 
   190 const TInt KStandardQwertyDataSize_Danish = 147;
   168 const TInt KStandardQwertyDataSize_Danish = 66;
   191 
   169 
   192 
   170 
   193 const TPtiKeyBinding StandardQwertyKeyBindings_table_Danish[] =
   171 const TPtiKeyBinding StandardQwertyKeyBindings_table_Danish[] =
   194     {
   172     {
   195         {EPtiKeyQwerty1, EPtiCaseLower, 0, 1},
   173         {EPtiKeyQwertyAtCharacter, EPtiCaseLower, 0, 1},
   196         {EPtiKeyQwerty2, EPtiCaseLower, 1, 1},
   174         {EPtiKeyQwerty1, EPtiCaseLower, 1, 1},
   197         {EPtiKeyQwerty3, EPtiCaseLower, 2, 1},
   175         {EPtiKeyQwerty2, EPtiCaseLower, 2, 1},
   198         {EPtiKeyQwerty4, EPtiCaseLower, 3, 1},
   176         {EPtiKeyQwerty3, EPtiCaseLower, 3, 1},
   199         {EPtiKeyQwerty5, EPtiCaseLower, 4, 1},
   177         {EPtiKeyQwerty4, EPtiCaseLower, 4, 1},
   200         {EPtiKeyQwerty6, EPtiCaseLower, 5, 1},
   178         {EPtiKeyQwerty5, EPtiCaseLower, 5, 1},
   201         {EPtiKeyQwerty7, EPtiCaseLower, 6, 1},
   179         {EPtiKeyQwerty6, EPtiCaseLower, 6, 1},
   202         {EPtiKeyQwerty8, EPtiCaseLower, 7, 1},
   180         {EPtiKeyQwerty7, EPtiCaseLower, 7, 1},
   203         {EPtiKeyQwerty9, EPtiCaseLower, 8, 1},
   181         {EPtiKeyQwerty8, EPtiCaseLower, 8, 1},
   204         {EPtiKeyQwerty0, EPtiCaseLower, 9, 1},
   182         {EPtiKeyQwerty9, EPtiCaseLower, 9, 1},
   205         {EPtiKeyQwertyPlus, EPtiCaseLower, 10, 1},
   183         {EPtiKeyQwerty0, EPtiCaseLower, 10, 1},
   206         {EPtiKeyQwertyQ, EPtiCaseLower, 11, 1},
   184         {EPtiKeyQwertyPlus, EPtiCaseLower, 11, 1},
   207         {EPtiKeyQwertyW, EPtiCaseLower, 12, 1},
   185         {EPtiKeyQwertyQ, EPtiCaseLower, 12, 1},
   208         {EPtiKeyQwertyE, EPtiCaseLower, 13, 5},
   186         {EPtiKeyQwertyW, EPtiCaseLower, 13, 1},
   209         {EPtiKeyQwertyR, EPtiCaseLower, 18, 1},
   187         {EPtiKeyQwertyE, EPtiCaseLower, 14, 1},
   210         {EPtiKeyQwertyT, EPtiCaseLower, 19, 2},
   188         {EPtiKeyQwertyR, EPtiCaseLower, 15, 1},
   211         {EPtiKeyQwertyY, EPtiCaseLower, 21, 2},
   189         {EPtiKeyQwertyT, EPtiCaseLower, 16, 1},
   212         {EPtiKeyQwertyU, EPtiCaseLower, 23, 5},
   190         {EPtiKeyQwertyY, EPtiCaseLower, 17, 1},
   213         {EPtiKeyQwertyI, EPtiCaseLower, 28, 5},
   191         {EPtiKeyQwertyU, EPtiCaseLower, 18, 1},
   214         {EPtiKeyQwertyO, EPtiCaseLower, 33, 6},
   192         {EPtiKeyQwertyI, EPtiCaseLower, 19, 1},
   215         {EPtiKeyQwertyP, EPtiCaseLower, 39, 1},
   193         {EPtiKeyQwertyO, EPtiCaseLower, 20, 1},
   216         {EPtiKeyQwertyMinus, EPtiCaseLower, 40, 1},
   194         {EPtiKeyQwertyP, EPtiCaseLower, 21, 1},
   217         {EPtiKeyQwertyHash, EPtiCaseLower, 41, 1},
   195         {EPtiKeyQwertyMinus, EPtiCaseLower, 22, 0},
   218         {EPtiKeyQwertyA, EPtiCaseLower, 42, 6},
   196         {EPtiKeyQwertyHash, EPtiCaseLower, 22, 1},
   219         {EPtiKeyQwertyS, EPtiCaseLower, 48, 2},
   197         {EPtiKeyQwertyA, EPtiCaseLower, 23, 1},
   220         {EPtiKeyQwertyD, EPtiCaseLower, 50, 2},
   198         {EPtiKeyQwertyS, EPtiCaseLower, 24, 1},
   221         {EPtiKeyQwertyF, EPtiCaseLower, 52, 1},
   199         {EPtiKeyQwertyD, EPtiCaseLower, 25, 1},
   222         {EPtiKeyQwertyG, EPtiCaseLower, 53, 1},
   200         {EPtiKeyQwertyF, EPtiCaseLower, 26, 1},
   223         {EPtiKeyQwertyH, EPtiCaseLower, 54, 1},
   201         {EPtiKeyQwertyG, EPtiCaseLower, 27, 1},
   224         {EPtiKeyQwertyJ, EPtiCaseLower, 55, 1},
   202         {EPtiKeyQwertyH, EPtiCaseLower, 28, 1},
   225         {EPtiKeyQwertyK, EPtiCaseLower, 56, 1},
   203         {EPtiKeyQwertyJ, EPtiCaseLower, 29, 1},
   226         {EPtiKeyQwertyL, EPtiCaseLower, 57, 1},
   204         {EPtiKeyQwertyK, EPtiCaseLower, 30, 1},
   227         {EPtiKeyQwertySemicolon, EPtiCaseLower, 58, 2},
   205         {EPtiKeyQwertyL, EPtiCaseLower, 31, 1},
   228         {EPtiKeyQwertyApostrophe, EPtiCaseLower, 60, 2},
   206         {EPtiKeyQwertySemicolon, EPtiCaseLower, 32, 1},
   229         {EPtiKeyQwertyZ, EPtiCaseLower, 62, 1},
   207         {EPtiKeyQwertyApostrophe, EPtiCaseLower, 33, 0},
   230         {EPtiKeyQwertyX, EPtiCaseLower, 63, 1},
   208         {0x5b, EPtiCaseLower, 33, 0},
   231         {EPtiKeyQwertyC, EPtiCaseLower, 64, 2},
   209         {EPtiKeyQwertyZ, EPtiCaseLower, 33, 0},
   232         {EPtiKeyQwertyV, EPtiCaseLower, 66, 1},
   210         {EPtiKeyQwertyX, EPtiCaseLower, 33, 0},
   233         {EPtiKeyQwertyB, EPtiCaseLower, 67, 1},
   211         {EPtiKeyQwertyC, EPtiCaseLower, 33, 0},
   234         {EPtiKeyQwertyN, EPtiCaseLower, 68, 2},
   212         {EPtiKeyQwertyV, EPtiCaseLower, 33, 0},
   235         {EPtiKeyQwertyM, EPtiCaseLower, 70, 1},
   213         {EPtiKeyQwertyB, EPtiCaseLower, 33, 0},
   236         {EPtiKeyQwertyComma, EPtiCaseLower, 71, 1},
   214         {EPtiKeyQwertyN, EPtiCaseLower, 33, 0},
   237         {EPtiKeyQwertyFullstop, EPtiCaseLower, 72, 1},
   215         {EPtiKeyQwertyM, EPtiCaseLower, 33, 0},
   238         {EPtiKeyQwertySlash, EPtiCaseLower, 73, 1},
   216         {EPtiKeyQwertyComma, EPtiCaseLower, 33, 0},
   239         {EPtiKeyQwerty1, EPtiCaseUpper, 74, 1},
   217         {EPtiKeyQwertyFullstop, EPtiCaseLower, 33, 0},
   240         {EPtiKeyQwerty2, EPtiCaseUpper, 75, 1},
   218         {EPtiKeyQwertySlash, EPtiCaseLower, 33, 0},
   241         {EPtiKeyQwerty3, EPtiCaseUpper, 76, 1},
   219         {EPtiKeyQwertyAtCharacter, EPtiCaseUpper, 33, 1},
   242         {EPtiKeyQwerty4, EPtiCaseUpper, 77, 1},
   220         {EPtiKeyQwerty1, EPtiCaseUpper, 34, 1},
   243         {EPtiKeyQwerty5, EPtiCaseUpper, 78, 1},
   221         {EPtiKeyQwerty2, EPtiCaseUpper, 35, 1},
   244         {EPtiKeyQwerty6, EPtiCaseUpper, 79, 1},
   222         {EPtiKeyQwerty3, EPtiCaseUpper, 36, 1},
   245         {EPtiKeyQwerty7, EPtiCaseUpper, 80, 1},
   223         {EPtiKeyQwerty4, EPtiCaseUpper, 37, 1},
   246         {EPtiKeyQwerty8, EPtiCaseUpper, 81, 1},
   224         {EPtiKeyQwerty5, EPtiCaseUpper, 38, 1},
   247         {EPtiKeyQwerty9, EPtiCaseUpper, 82, 1},
   225         {EPtiKeyQwerty6, EPtiCaseUpper, 39, 1},
   248         {EPtiKeyQwerty0, EPtiCaseUpper, 83, 1},
   226         {EPtiKeyQwerty7, EPtiCaseUpper, 40, 1},
   249         {EPtiKeyQwertyPlus, EPtiCaseUpper, 84, 1},
   227         {EPtiKeyQwerty8, EPtiCaseUpper, 41, 1},
   250         {EPtiKeyQwertyQ, EPtiCaseUpper, 85, 1},
   228         {EPtiKeyQwerty9, EPtiCaseUpper, 42, 1},
   251         {EPtiKeyQwertyW, EPtiCaseUpper, 86, 1},
   229         {EPtiKeyQwerty0, EPtiCaseUpper, 43, 1},
   252         {EPtiKeyQwertyE, EPtiCaseUpper, 87, 5},
   230         {EPtiKeyQwertyPlus, EPtiCaseUpper, 44, 1},
   253         {EPtiKeyQwertyR, EPtiCaseUpper, 92, 1},
   231         {EPtiKeyQwertyQ, EPtiCaseUpper, 45, 1},
   254         {EPtiKeyQwertyT, EPtiCaseUpper, 93, 2},
   232         {EPtiKeyQwertyW, EPtiCaseUpper, 46, 1},
   255         {EPtiKeyQwertyY, EPtiCaseUpper, 95, 2},
   233         {EPtiKeyQwertyE, EPtiCaseUpper, 47, 1},
   256         {EPtiKeyQwertyU, EPtiCaseUpper, 97, 5},
   234         {EPtiKeyQwertyR, EPtiCaseUpper, 48, 1},
   257         {EPtiKeyQwertyI, EPtiCaseUpper, 102, 5},
   235         {EPtiKeyQwertyT, EPtiCaseUpper, 49, 1},
   258         {EPtiKeyQwertyO, EPtiCaseUpper, 107, 6},
   236         {EPtiKeyQwertyY, EPtiCaseUpper, 50, 1},
   259         {EPtiKeyQwertyP, EPtiCaseUpper, 113, 1},
   237         {EPtiKeyQwertyU, EPtiCaseUpper, 51, 1},
   260         {EPtiKeyQwertyMinus, EPtiCaseUpper, 114, 1},
   238         {EPtiKeyQwertyI, EPtiCaseUpper, 52, 1},
   261         {EPtiKeyQwertyHash, EPtiCaseUpper, 115, 1},
   239         {EPtiKeyQwertyO, EPtiCaseUpper, 53, 1},
   262         {EPtiKeyQwertyA, EPtiCaseUpper, 116, 6},
   240         {EPtiKeyQwertyP, EPtiCaseUpper, 54, 1},
   263         {EPtiKeyQwertyS, EPtiCaseUpper, 122, 1},
   241         {EPtiKeyQwertyMinus, EPtiCaseUpper, 55, 0},
   264         {EPtiKeyQwertyD, EPtiCaseUpper, 123, 2},
   242         {EPtiKeyQwertyHash, EPtiCaseUpper, 55, 1},
   265         {EPtiKeyQwertyF, EPtiCaseUpper, 125, 1},
   243         {EPtiKeyQwertyA, EPtiCaseUpper, 56, 1},
   266         {EPtiKeyQwertyG, EPtiCaseUpper, 126, 1},
   244         {EPtiKeyQwertyS, EPtiCaseUpper, 57, 1},
   267         {EPtiKeyQwertyH, EPtiCaseUpper, 127, 1},
   245         {EPtiKeyQwertyD, EPtiCaseUpper, 58, 1},
   268         {EPtiKeyQwertyJ, EPtiCaseUpper, 128, 1},
   246         {EPtiKeyQwertyF, EPtiCaseUpper, 59, 1},
   269         {EPtiKeyQwertyK, EPtiCaseUpper, 129, 1},
   247         {EPtiKeyQwertyG, EPtiCaseUpper, 60, 1},
   270         {EPtiKeyQwertyL, EPtiCaseUpper, 130, 1},
   248         {EPtiKeyQwertyH, EPtiCaseUpper, 61, 1},
   271         {EPtiKeyQwertySemicolon, EPtiCaseUpper, 131, 2},
   249         {EPtiKeyQwertyJ, EPtiCaseUpper, 62, 1},
   272         {EPtiKeyQwertyApostrophe, EPtiCaseUpper, 133, 2},
   250         {EPtiKeyQwertyK, EPtiCaseUpper, 63, 1},
   273         {EPtiKeyQwertyZ, EPtiCaseUpper, 135, 1},
   251         {EPtiKeyQwertyL, EPtiCaseUpper, 64, 1},
   274         {EPtiKeyQwertyX, EPtiCaseUpper, 136, 1},
   252         {EPtiKeyQwertySemicolon, EPtiCaseUpper, 65, 1},
   275         {EPtiKeyQwertyC, EPtiCaseUpper, 137, 2},
   253         {EPtiKeyQwertyApostrophe, EPtiCaseUpper, 66, 0},
   276         {EPtiKeyQwertyV, EPtiCaseUpper, 139, 1},
   254         {0x5b, EPtiCaseUpper, 66, 0},
   277         {EPtiKeyQwertyB, EPtiCaseUpper, 140, 1},
   255         {EPtiKeyQwertyZ, EPtiCaseUpper, 66, 0},
   278         {EPtiKeyQwertyN, EPtiCaseUpper, 141, 2},
   256         {EPtiKeyQwertyX, EPtiCaseUpper, 66, 0},
   279         {EPtiKeyQwertyM, EPtiCaseUpper, 143, 1},
   257         {EPtiKeyQwertyC, EPtiCaseUpper, 66, 0},
   280         {EPtiKeyQwertyComma, EPtiCaseUpper, 144, 1},
   258         {EPtiKeyQwertyV, EPtiCaseUpper, 66, 0},
   281         {EPtiKeyQwertyFullstop, EPtiCaseUpper, 145, 1},
   259         {EPtiKeyQwertyB, EPtiCaseUpper, 66, 0},
   282         {EPtiKeyQwertySlash, EPtiCaseUpper, 146, 1},
   260         {EPtiKeyQwertyN, EPtiCaseUpper, 66, 0},
       
   261         {EPtiKeyQwertyM, EPtiCaseUpper, 66, 0},
       
   262         {EPtiKeyQwertyComma, EPtiCaseUpper, 66, 0},
       
   263         {EPtiKeyQwertyFullstop, EPtiCaseUpper, 66, 0},
       
   264         {EPtiKeyQwertySlash, EPtiCaseUpper, 66, 0},
   283     };
   265     };
   284 
   266 
   285 const TInt KMaxStandardQwertyIndex_Danish = 88;
   267 const TInt KMaxStandardQwertyIndex_Danish = 92;
   286 
   268 
   287 //
   269 //
   288 // MiniQwerty keymap data table
   270 // MiniQwerty keymap data table
   289 //
   271 //
   290 const TUint16 MiniQwertyData_table_Danish[] =
   272 const TUint16 MiniQwertyData_table_Danish[] =