textinput/ptienginev2/languages/PtiKeymappings_ITUT_33.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.
    97 //
    97 //
    98 // StandardQwerty keymap data table
    98 // StandardQwerty keymap data table
    99 //
    99 //
   100 const TUint16 StandardQwertyData_table_Thai[] =
   100 const TUint16 StandardQwertyData_table_Thai[] =
   101     {
   101     {
   102      0x0E45,
   102      0x31,
   103      0x0E3F,
   103      0x32,
   104      0x0E20,
   104      0x33,
   105      0x0E16,
   105      0x34,
   106      0x0E39,
   106      0x35,
   107      0x0E38,
   107      0x36,
   108      0x0E36,
   108      0x37,
   109      0x0E04,
   109      0x38,
   110      0x0E15,
   110      0x39,
   111      0x0E08,
   111      0x30,
   112      0x002F,
   112      0x3f,
   113      0x0E46,
   113      0xe46,
   114      0x0E44,
   114      0xe44,
   115      0x0E33,
   115      0xe33,
   116      0x0E1E,
   116      0xe1e,
   117      0x0E30,
   117      0xe30,
   118      0x0E31,
   118      0xe31,
   119      0x0E35,
   119      0xe35,
   120      0x0E23,
   120      0xe23,
   121      0x0E19,
   121      0xe19,
   122      0x0E22,
   122      0xe22,
   123      0x0E1A,
   123      0xe1a,
   124      0x0E1F,
   124      0x2c,
   125      0x0E2B,
   125      0xe1f,
   126      0x0E01,
   126      0xe2b,
   127      0x0E14,
   127      0xe01,
   128      0x0E40,
   128      0xe14,
   129      0x0E49,
   129      0xe40,
   130      0x0E48,
   130      0xe49,
   131      0x0E32,
   131      0xe48,
   132      0x0E2A,
   132      0xe32,
   133      0x0E27,
   133      0xe2a,
   134      0x0E07,
   134      0xe27,
   135      0x0E1C,
   135      0xe07,
   136      0x0E1B,
   136      0xe1c,
   137      0x0E41,
   137      0xe1b,
   138      0x0E2D,
   138      0xe41,
   139      0x0E34,
   139      0xe2d,
   140      0x0E37,
   140      0xe34,
   141      0x0E17,
   141      0xe37,
   142      0x0E21,
   142      0xe17,
   143      0x0E43,
   143      0xe21,
   144      0x0E1D,
   144      0xe43,
   145      0x0E03,
   145      0xe1d,
   146      0x0E45,
   146      0xe45,
   147      0x0E3F,
   147      0x40,
   148      0x0E20,
   148      0xe20,
   149      0x0E4E,
   149      0xe16,
   150      0x0E3A,
   150      0xe39,
   151      0x0E24,
   151      0xe38,
   152      0x0E26,
   152      0xe36,
   153      0x0E04,
   153      0xe04,
   154      0x0E15,
   154      0xe15,
   155      0x0E08,
   155      0xe08,
   156      0x002F,
   156      0x21,
   157      0x0E02,
   157      0xe02,
   158      0x0E0A,
   158      0xe0a,
   159      0x0E0E,
   159      0xe0e,
   160      0x0E11,
   160      0xe11,
   161      0x0E18,
   161      0xe18,
   162      0x0E4D,
   162      0xe4d,
   163      0x0E4A,
   163      0xe4a,
   164      0x0E13,
   164      0xe13,
   165      0x0E2F,
   165      0xe2f,
   166      0x0E0D,
   166      0xe0d,
   167      0x0E10,
   167      0xe10,
   168      0x0E25,
   168      0x2e,
   169      0x0E06,
   169      0xe25,
   170      0x0E0F,
   170      0xe06,
   171      0x0E42,
   171      0xe0f,
   172      0x0E0C,
   172      0xe42,
   173      0x0E47,
   173      0xe0c,
   174      0x0E4B,
   174      0xe47,
   175      0x0E29,
   175      0xe4b,
   176      0x0E28,
   176      0xe29,
   177      0x0E0B,
   177      0xe28,
   178      0x201D,
   178      0xe0b,
   179      0x003F,
   179      0x22,
   180      0x0021,
   180      0xe1c,
   181      0x0E09,
   181      0xe1b,
   182      0x0E2E,
   182      0xe09,
   183      0x003A,
   183      0xe2e,
   184      0x0E4C,
   184      0xe34,
   185      0x0E05,
   185      0xe4c,
   186      0x0E12,
   186      0xe17,
   187      0x0E2C,
   187      0xe12,
   188      0x002C,
   188      0xe2c,
   189      0x002E,
   189      0x2f,
   190     };
   190     };
   191 
   191 
   192 const TInt KStandardQwertyDataSize_Thai = 88;
   192 const TInt KStandardQwertyDataSize_Thai = 88;
   193 
   193 
   194 
   194 
   195 const TPtiKeyBinding StandardQwertyKeyBindings_table_Thai[] =
   195 const TPtiKeyBinding StandardQwertyKeyBindings_table_Thai[] =
   196     {
   196     {
   197         {EPtiKeyQwertyAtCharacter, EPtiCaseLower, 0, 1},
   197         {EPtiKeyQwerty1, EPtiCaseLower, 0, 1},
   198         {EPtiKeyQwerty1, EPtiCaseLower, 1, 1},
   198         {EPtiKeyQwerty2, EPtiCaseLower, 1, 1},
   199         {EPtiKeyQwerty2, EPtiCaseLower, 2, 1},
   199         {EPtiKeyQwerty3, EPtiCaseLower, 2, 1},
   200         {EPtiKeyQwerty3, EPtiCaseLower, 3, 1},
   200         {EPtiKeyQwerty4, EPtiCaseLower, 3, 1},
   201         {EPtiKeyQwerty4, EPtiCaseLower, 4, 1},
   201         {EPtiKeyQwerty5, EPtiCaseLower, 4, 1},
   202         {EPtiKeyQwerty5, EPtiCaseLower, 5, 1},
   202         {EPtiKeyQwerty6, EPtiCaseLower, 5, 1},
   203         {EPtiKeyQwerty6, EPtiCaseLower, 6, 1},
   203         {EPtiKeyQwerty7, EPtiCaseLower, 6, 1},
   204         {EPtiKeyQwerty7, EPtiCaseLower, 7, 1},
   204         {EPtiKeyQwerty8, EPtiCaseLower, 7, 1},
   205         {EPtiKeyQwerty8, EPtiCaseLower, 8, 1},
   205         {EPtiKeyQwerty9, EPtiCaseLower, 8, 1},
   206         {EPtiKeyQwerty9, EPtiCaseLower, 9, 1},
   206         {EPtiKeyQwerty0, EPtiCaseLower, 9, 1},
   207         {EPtiKeyQwerty0, EPtiCaseLower, 10, 1},
   207         {EPtiKeyQwertyPlus, EPtiCaseLower, 10, 1},
   208         {EPtiKeyQwertyPlus, EPtiCaseLower, 11, 1},
   208         {EPtiKeyQwertyQ, EPtiCaseLower, 11, 1},
   209         {EPtiKeyQwertyQ, EPtiCaseLower, 12, 1},
   209         {EPtiKeyQwertyW, EPtiCaseLower, 12, 1},
   210         {EPtiKeyQwertyW, EPtiCaseLower, 13, 1},
   210         {EPtiKeyQwertyE, EPtiCaseLower, 13, 1},
   211         {EPtiKeyQwertyE, EPtiCaseLower, 14, 1},
   211         {EPtiKeyQwertyR, EPtiCaseLower, 14, 1},
   212         {EPtiKeyQwertyR, EPtiCaseLower, 15, 1},
   212         {EPtiKeyQwertyT, EPtiCaseLower, 15, 1},
   213         {EPtiKeyQwertyT, EPtiCaseLower, 16, 1},
   213         {EPtiKeyQwertyY, EPtiCaseLower, 16, 1},
   214         {EPtiKeyQwertyY, EPtiCaseLower, 17, 1},
   214         {EPtiKeyQwertyU, EPtiCaseLower, 17, 1},
   215         {EPtiKeyQwertyU, EPtiCaseLower, 18, 1},
   215         {EPtiKeyQwertyI, EPtiCaseLower, 18, 1},
   216         {EPtiKeyQwertyI, EPtiCaseLower, 19, 1},
   216         {EPtiKeyQwertyO, EPtiCaseLower, 19, 1},
   217         {EPtiKeyQwertyO, EPtiCaseLower, 20, 1},
   217         {EPtiKeyQwertyP, EPtiCaseLower, 20, 1},
   218         {EPtiKeyQwertyP, EPtiCaseLower, 21, 1},
   218         {EPtiKeyQwertyMinus, EPtiCaseLower, 21, 1},
   219         {EPtiKeyQwertyMinus, EPtiCaseLower, 22, 0},
       
   220         {EPtiKeyQwertyHash, EPtiCaseLower, 22, 1},
   219         {EPtiKeyQwertyHash, EPtiCaseLower, 22, 1},
   221         {EPtiKeyQwertyA, EPtiCaseLower, 23, 1},
   220         {EPtiKeyQwertyA, EPtiCaseLower, 23, 1},
   222         {EPtiKeyQwertyS, EPtiCaseLower, 24, 1},
   221         {EPtiKeyQwertyS, EPtiCaseLower, 24, 1},
   223         {EPtiKeyQwertyD, EPtiCaseLower, 25, 1},
   222         {EPtiKeyQwertyD, EPtiCaseLower, 25, 1},
   224         {EPtiKeyQwertyF, EPtiCaseLower, 26, 1},
   223         {EPtiKeyQwertyF, EPtiCaseLower, 26, 1},
   226         {EPtiKeyQwertyH, EPtiCaseLower, 28, 1},
   225         {EPtiKeyQwertyH, EPtiCaseLower, 28, 1},
   227         {EPtiKeyQwertyJ, EPtiCaseLower, 29, 1},
   226         {EPtiKeyQwertyJ, EPtiCaseLower, 29, 1},
   228         {EPtiKeyQwertyK, EPtiCaseLower, 30, 1},
   227         {EPtiKeyQwertyK, EPtiCaseLower, 30, 1},
   229         {EPtiKeyQwertyL, EPtiCaseLower, 31, 1},
   228         {EPtiKeyQwertyL, EPtiCaseLower, 31, 1},
   230         {EPtiKeyQwertySemicolon, EPtiCaseLower, 32, 1},
   229         {EPtiKeyQwertySemicolon, EPtiCaseLower, 32, 1},
   231         {EPtiKeyQwertyApostrophe, EPtiCaseLower, 33, 0},
   230         {EPtiKeyQwertyApostrophe, EPtiCaseLower, 33, 1},
   232         {0x5b, EPtiCaseLower, 33, 1},
       
   233         {EPtiKeyQwertyZ, EPtiCaseLower, 34, 1},
   231         {EPtiKeyQwertyZ, EPtiCaseLower, 34, 1},
   234         {EPtiKeyQwertyX, EPtiCaseLower, 35, 1},
   232         {EPtiKeyQwertyX, EPtiCaseLower, 35, 1},
   235         {EPtiKeyQwertyC, EPtiCaseLower, 36, 1},
   233         {EPtiKeyQwertyC, EPtiCaseLower, 36, 1},
   236         {EPtiKeyQwertyV, EPtiCaseLower, 37, 1},
   234         {EPtiKeyQwertyV, EPtiCaseLower, 37, 1},
   237         {EPtiKeyQwertyB, EPtiCaseLower, 38, 1},
   235         {EPtiKeyQwertyB, EPtiCaseLower, 38, 1},
   238         {EPtiKeyQwertyN, EPtiCaseLower, 39, 1},
   236         {EPtiKeyQwertyN, EPtiCaseLower, 39, 1},
   239         {EPtiKeyQwertyM, EPtiCaseLower, 40, 1},
   237         {EPtiKeyQwertyM, EPtiCaseLower, 40, 1},
   240         {EPtiKeyQwertyComma, EPtiCaseLower, 41, 1},
   238         {EPtiKeyQwertyComma, EPtiCaseLower, 41, 1},
   241         {EPtiKeyQwertyFullstop, EPtiCaseLower, 42, 1},
   239         {EPtiKeyQwertyFullstop, EPtiCaseLower, 42, 1},
   242         {EPtiKeyQwertySlash, EPtiCaseLower, 43, 1},
   240         {EPtiKeyQwertySlash, EPtiCaseLower, 43, 1},
   243         {EPtiKeyQwertyAtCharacter, EPtiCaseUpper, 44, 1},
   241         {EPtiKeyQwerty1, EPtiCaseUpper, 44, 1},
   244         {EPtiKeyQwerty1, EPtiCaseUpper, 45, 1},
   242         {EPtiKeyQwerty2, EPtiCaseUpper, 45, 1},
   245         {EPtiKeyQwerty2, EPtiCaseUpper, 46, 1},
   243         {EPtiKeyQwerty3, EPtiCaseUpper, 46, 1},
   246         {EPtiKeyQwerty3, EPtiCaseUpper, 47, 1},
   244         {EPtiKeyQwerty4, EPtiCaseUpper, 47, 1},
   247         {EPtiKeyQwerty4, EPtiCaseUpper, 48, 1},
   245         {EPtiKeyQwerty5, EPtiCaseUpper, 48, 1},
   248         {EPtiKeyQwerty5, EPtiCaseUpper, 49, 1},
   246         {EPtiKeyQwerty6, EPtiCaseUpper, 49, 1},
   249         {EPtiKeyQwerty6, EPtiCaseUpper, 50, 1},
   247         {EPtiKeyQwerty7, EPtiCaseUpper, 50, 1},
   250         {EPtiKeyQwerty7, EPtiCaseUpper, 51, 1},
   248         {EPtiKeyQwerty8, EPtiCaseUpper, 51, 1},
   251         {EPtiKeyQwerty8, EPtiCaseUpper, 52, 1},
   249         {EPtiKeyQwerty9, EPtiCaseUpper, 52, 1},
   252         {EPtiKeyQwerty9, EPtiCaseUpper, 53, 1},
   250         {EPtiKeyQwerty0, EPtiCaseUpper, 53, 1},
   253         {EPtiKeyQwerty0, EPtiCaseUpper, 54, 1},
   251         {EPtiKeyQwertyPlus, EPtiCaseUpper, 54, 1},
   254         {EPtiKeyQwertyPlus, EPtiCaseUpper, 55, 1},
   252         {EPtiKeyQwertyQ, EPtiCaseUpper, 55, 1},
   255         {EPtiKeyQwertyQ, EPtiCaseUpper, 56, 1},
   253         {EPtiKeyQwertyW, EPtiCaseUpper, 56, 1},
   256         {EPtiKeyQwertyW, EPtiCaseUpper, 57, 1},
   254         {EPtiKeyQwertyE, EPtiCaseUpper, 57, 1},
   257         {EPtiKeyQwertyE, EPtiCaseUpper, 58, 1},
   255         {EPtiKeyQwertyR, EPtiCaseUpper, 58, 1},
   258         {EPtiKeyQwertyR, EPtiCaseUpper, 59, 1},
   256         {EPtiKeyQwertyT, EPtiCaseUpper, 59, 1},
   259         {EPtiKeyQwertyT, EPtiCaseUpper, 60, 1},
   257         {EPtiKeyQwertyY, EPtiCaseUpper, 60, 1},
   260         {EPtiKeyQwertyY, EPtiCaseUpper, 61, 1},
   258         {EPtiKeyQwertyU, EPtiCaseUpper, 61, 1},
   261         {EPtiKeyQwertyU, EPtiCaseUpper, 62, 1},
   259         {EPtiKeyQwertyI, EPtiCaseUpper, 62, 1},
   262         {EPtiKeyQwertyI, EPtiCaseUpper, 63, 1},
   260         {EPtiKeyQwertyO, EPtiCaseUpper, 63, 1},
   263         {EPtiKeyQwertyO, EPtiCaseUpper, 64, 1},
   261         {EPtiKeyQwertyP, EPtiCaseUpper, 64, 1},
   264         {EPtiKeyQwertyP, EPtiCaseUpper, 65, 1},
   262         {EPtiKeyQwertyMinus, EPtiCaseUpper, 65, 1},
   265         {EPtiKeyQwertyMinus, EPtiCaseUpper, 66, 0},
       
   266         {EPtiKeyQwertyHash, EPtiCaseUpper, 66, 1},
   263         {EPtiKeyQwertyHash, EPtiCaseUpper, 66, 1},
   267         {EPtiKeyQwertyA, EPtiCaseUpper, 67, 1},
   264         {EPtiKeyQwertyA, EPtiCaseUpper, 67, 1},
   268         {EPtiKeyQwertyS, EPtiCaseUpper, 68, 1},
   265         {EPtiKeyQwertyS, EPtiCaseUpper, 68, 1},
   269         {EPtiKeyQwertyD, EPtiCaseUpper, 69, 1},
   266         {EPtiKeyQwertyD, EPtiCaseUpper, 69, 1},
   270         {EPtiKeyQwertyF, EPtiCaseUpper, 70, 1},
   267         {EPtiKeyQwertyF, EPtiCaseUpper, 70, 1},
   272         {EPtiKeyQwertyH, EPtiCaseUpper, 72, 1},
   269         {EPtiKeyQwertyH, EPtiCaseUpper, 72, 1},
   273         {EPtiKeyQwertyJ, EPtiCaseUpper, 73, 1},
   270         {EPtiKeyQwertyJ, EPtiCaseUpper, 73, 1},
   274         {EPtiKeyQwertyK, EPtiCaseUpper, 74, 1},
   271         {EPtiKeyQwertyK, EPtiCaseUpper, 74, 1},
   275         {EPtiKeyQwertyL, EPtiCaseUpper, 75, 1},
   272         {EPtiKeyQwertyL, EPtiCaseUpper, 75, 1},
   276         {EPtiKeyQwertySemicolon, EPtiCaseUpper, 76, 1},
   273         {EPtiKeyQwertySemicolon, EPtiCaseUpper, 76, 1},
   277         {EPtiKeyQwertyApostrophe, EPtiCaseUpper, 77, 0},
   274         {EPtiKeyQwertyApostrophe, EPtiCaseUpper, 77, 1},
   278         {0x5b, EPtiCaseUpper, 77, 1},
       
   279         {EPtiKeyQwertyZ, EPtiCaseUpper, 78, 1},
   275         {EPtiKeyQwertyZ, EPtiCaseUpper, 78, 1},
   280         {EPtiKeyQwertyX, EPtiCaseUpper, 79, 1},
   276         {EPtiKeyQwertyX, EPtiCaseUpper, 79, 1},
   281         {EPtiKeyQwertyC, EPtiCaseUpper, 80, 1},
   277         {EPtiKeyQwertyC, EPtiCaseUpper, 80, 1},
   282         {EPtiKeyQwertyV, EPtiCaseUpper, 81, 1},
   278         {EPtiKeyQwertyV, EPtiCaseUpper, 81, 1},
   283         {EPtiKeyQwertyB, EPtiCaseUpper, 82, 1},
   279         {EPtiKeyQwertyB, EPtiCaseUpper, 82, 1},
   286         {EPtiKeyQwertyComma, EPtiCaseUpper, 85, 1},
   282         {EPtiKeyQwertyComma, EPtiCaseUpper, 85, 1},
   287         {EPtiKeyQwertyFullstop, EPtiCaseUpper, 86, 1},
   283         {EPtiKeyQwertyFullstop, EPtiCaseUpper, 86, 1},
   288         {EPtiKeyQwertySlash, EPtiCaseUpper, 87, 1},
   284         {EPtiKeyQwertySlash, EPtiCaseUpper, 87, 1},
   289     };
   285     };
   290 
   286 
   291 const TInt KMaxStandardQwertyIndex_Thai = 92;
   287 const TInt KMaxStandardQwertyIndex_Thai = 88;
   292 
   288 
   293 
   289 
   294 //
   290 //
   295 // Numeric key data table for StandardQwerty
   291 // Numeric key data table for StandardQwerty
   296 //
   292 //