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