--- a/textinput/ptienginev2/languages/PtiKeymappings_ITUT_57.cpp Tue Aug 31 15:31:50 2010 +0300
+++ b/textinput/ptienginev2/languages/PtiKeymappings_ITUT_57.cpp Wed Sep 01 12:23:33 2010 +0100
@@ -1,8 +1,8 @@
/*
-* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0""
+* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
@@ -97,123 +97,102 @@
//
const TUint16 StandardQwertyData_table_Hebrew[] =
{
- 0x31,
- 0x32,
- 0x33,
- 0x34,
- 0x35,
- 0x36,
- 0x37,
- 0x38,
- 0x39,
- 0x30,
- 0x2d,
- 0x2f,
- 0x5c,
- 0x5e7,
- 0x5e8,
- 0x5d0,
- 0x5d8,
- 0x5d5,
- 0x5df,
- 0x5dd,
- 0x5e4,
- 0x3a,
- 0x2b,
- 0x5e9,
- 0x5d3,
- 0x5d2,
- 0x5db,
- 0x5e2,
- 0x5d9,
- 0x5d7,
- 0x5dc,
- 0x5da,
- 0x5e3,
- 0x2c,
- 0x5d6,
- 0x5e1,
- 0x5d1,
- 0x5d4,
- 0x5e0,
- 0x5de,
- 0x5e6,
- 0x5ea,
- 0x5e5,
- 0x2e,
- 0x21,
- 0x40,
- 0x20ac,
- 0x24,
- 0x25,
- 0x26,
- 0x2a,
- 0x29,
- 0x28,
- 0x3d,
- 0x5f,
- 0x2f,
- 0x5c,
- 0x5e7,
- 0x5e8,
- 0x5d0,
- 0x5d8,
- 0x5d5,
- 0x5df,
- 0x5dd,
- 0x5e4,
- 0x3b,
- 0x23,
- 0x5e9,
- 0x5d3,
- 0x5d2,
- 0x5db,
- 0x5e2,
- 0x5d9,
- 0x5d7,
- 0x5dc,
- 0x5da,
- 0x27,
- 0x22,
- 0x5d6,
- 0x5e1,
- 0x5d1,
- 0x5d4,
- 0x5e0,
- 0x5de,
- 0x5e6,
- 0x3e,
- 0x3c,
- 0x3f,
+ 0x002F,
+ 0x0027,
+ 0x05E7,
+ 0x05E8,
+ 0x05D0,
+ 0x05D8,
+ 0x05D5,
+ 0x05DF,
+ 0x05DD,
+ 0x05E4,
+ 0x0021,
+ 0x05E9,
+ 0x05D3,
+ 0x05D2,
+ 0x05DB,
+ 0x05E2,
+ 0x05D9,
+ 0x05D7,
+ 0x05DC,
+ 0x05DA,
+ 0x05E3,
+ 0x002C,
+ 0x05D6,
+ 0x05E1,
+ 0x05D1,
+ 0x05D4,
+ 0x05E0,
+ 0x05DE,
+ 0x05E6,
+ 0x05EA,
+ 0x05E5,
+ 0x002E,
+ 0x003F,
+ 0x005C,
+ 0x0027,
+ 0x05E7,
+ 0x05E8,
+ 0x05D0,
+ 0x05D8,
+ 0x05D5,
+ 0x05DF,
+ 0x05DD,
+ 0x05E4,
+ 0x0022,
+ 0x05E9,
+ 0x05D3,
+ 0x05D2,
+ 0x05DB,
+ 0x05E2,
+ 0x05D9,
+ 0x05D7,
+ 0x05DC,
+ 0x05DA,
+ 0x05E3,
+ 0x003A,
+ 0x05D6,
+ 0x05E1,
+ 0x05D1,
+ 0x05D4,
+ 0x05E0,
+ 0x05DE,
+ 0x05E6,
+ 0x05EA,
+ 0x05E5,
+ 0x0029,
+ 0x0028,
};
-const TInt KStandardQwertyDataSize_Hebrew = 88;
+const TInt KStandardQwertyDataSize_Hebrew = 66;
const TPtiKeyBinding StandardQwertyKeyBindings_table_Hebrew[] =
{
- {EPtiKeyQwerty1, EPtiCaseLower, 0, 1},
- {EPtiKeyQwerty2, EPtiCaseLower, 1, 1},
- {EPtiKeyQwerty3, EPtiCaseLower, 2, 1},
- {EPtiKeyQwerty4, EPtiCaseLower, 3, 1},
- {EPtiKeyQwerty5, EPtiCaseLower, 4, 1},
- {EPtiKeyQwerty6, EPtiCaseLower, 5, 1},
- {EPtiKeyQwerty7, EPtiCaseLower, 6, 1},
- {EPtiKeyQwerty8, EPtiCaseLower, 7, 1},
- {EPtiKeyQwerty9, EPtiCaseLower, 8, 1},
- {EPtiKeyQwerty0, EPtiCaseLower, 9, 1},
- {EPtiKeyQwertyPlus, EPtiCaseLower, 10, 1},
- {EPtiKeyQwertyQ, EPtiCaseLower, 11, 1},
- {EPtiKeyQwertyW, EPtiCaseLower, 12, 1},
- {EPtiKeyQwertyE, EPtiCaseLower, 13, 1},
- {EPtiKeyQwertyR, EPtiCaseLower, 14, 1},
- {EPtiKeyQwertyT, EPtiCaseLower, 15, 1},
- {EPtiKeyQwertyY, EPtiCaseLower, 16, 1},
- {EPtiKeyQwertyU, EPtiCaseLower, 17, 1},
- {EPtiKeyQwertyI, EPtiCaseLower, 18, 1},
- {EPtiKeyQwertyO, EPtiCaseLower, 19, 1},
- {EPtiKeyQwertyP, EPtiCaseLower, 20, 1},
- {EPtiKeyQwertyMinus, EPtiCaseLower, 21, 1},
+ {EPtiKeyQwertyAtCharacter, EPtiCaseLower, 0, 1},
+ {EPtiKeyQwerty1, EPtiCaseLower, 1, 1},
+ {EPtiKeyQwerty2, EPtiCaseLower, 2, 1},
+ {EPtiKeyQwerty3, EPtiCaseLower, 3, 1},
+ {EPtiKeyQwerty4, EPtiCaseLower, 4, 1},
+ {EPtiKeyQwerty5, EPtiCaseLower, 5, 1},
+ {EPtiKeyQwerty6, EPtiCaseLower, 6, 1},
+ {EPtiKeyQwerty7, EPtiCaseLower, 7, 1},
+ {EPtiKeyQwerty8, EPtiCaseLower, 8, 1},
+ {EPtiKeyQwerty9, EPtiCaseLower, 9, 1},
+ {EPtiKeyQwerty0, EPtiCaseLower, 10, 1},
+ {EPtiKeyQwertyPlus, EPtiCaseLower, 11, 1},
+ {EPtiKeyQwertyQ, EPtiCaseLower, 12, 1},
+ {EPtiKeyQwertyW, EPtiCaseLower, 13, 1},
+ {EPtiKeyQwertyE, EPtiCaseLower, 14, 1},
+ {EPtiKeyQwertyR, EPtiCaseLower, 15, 1},
+ {EPtiKeyQwertyT, EPtiCaseLower, 16, 1},
+ {EPtiKeyQwertyY, EPtiCaseLower, 17, 1},
+ {EPtiKeyQwertyU, EPtiCaseLower, 18, 1},
+ {EPtiKeyQwertyI, EPtiCaseLower, 19, 1},
+ {EPtiKeyQwertyO, EPtiCaseLower, 20, 1},
+ {EPtiKeyQwertyP, EPtiCaseLower, 21, 1},
+ {EPtiKeyQwertyMinus, EPtiCaseLower, 22, 0},
{EPtiKeyQwertyHash, EPtiCaseLower, 22, 1},
{EPtiKeyQwertyA, EPtiCaseLower, 23, 1},
{EPtiKeyQwertyS, EPtiCaseLower, 24, 1},
@@ -225,78 +204,69 @@
{EPtiKeyQwertyK, EPtiCaseLower, 30, 1},
{EPtiKeyQwertyL, EPtiCaseLower, 31, 1},
{EPtiKeyQwertySemicolon, EPtiCaseLower, 32, 1},
- {EPtiKeyQwertyApostrophe, EPtiCaseLower, 33, 1},
- {EPtiKeyQwertyZ, EPtiCaseLower, 34, 1},
- {EPtiKeyQwertyX, EPtiCaseLower, 35, 1},
- {EPtiKeyQwertyC, EPtiCaseLower, 36, 1},
- {EPtiKeyQwertyV, EPtiCaseLower, 37, 1},
- {EPtiKeyQwertyB, EPtiCaseLower, 38, 1},
- {EPtiKeyQwertyN, EPtiCaseLower, 39, 1},
- {EPtiKeyQwertyM, EPtiCaseLower, 40, 1},
- {EPtiKeyQwertyComma, EPtiCaseLower, 41, 1},
- {EPtiKeyQwertyFullstop, EPtiCaseLower, 42, 1},
- {EPtiKeyQwertySlash, EPtiCaseLower, 43, 1},
- {EPtiKeyQwerty1, EPtiCaseUpper, 44, 1},
- {EPtiKeyQwerty2, EPtiCaseUpper, 45, 1},
- {EPtiKeyQwerty3, EPtiCaseUpper, 46, 1},
- {EPtiKeyQwerty4, EPtiCaseUpper, 47, 1},
- {EPtiKeyQwerty5, EPtiCaseUpper, 48, 1},
- {EPtiKeyQwerty6, EPtiCaseUpper, 49, 1},
- {EPtiKeyQwerty7, EPtiCaseUpper, 50, 1},
- {EPtiKeyQwerty8, EPtiCaseUpper, 51, 1},
- {EPtiKeyQwerty9, EPtiCaseUpper, 52, 1},
- {EPtiKeyQwerty0, EPtiCaseUpper, 53, 1},
- {EPtiKeyQwertyPlus, EPtiCaseUpper, 54, 1},
- {EPtiKeyQwertyQ, EPtiCaseUpper, 55, 1},
- {EPtiKeyQwertyW, EPtiCaseUpper, 56, 1},
- {EPtiKeyQwertyE, EPtiCaseUpper, 57, 1},
- {EPtiKeyQwertyR, EPtiCaseUpper, 58, 1},
- {EPtiKeyQwertyT, EPtiCaseUpper, 59, 1},
- {EPtiKeyQwertyY, EPtiCaseUpper, 60, 1},
- {EPtiKeyQwertyU, EPtiCaseUpper, 61, 1},
- {EPtiKeyQwertyI, EPtiCaseUpper, 62, 1},
- {EPtiKeyQwertyO, EPtiCaseUpper, 63, 1},
- {EPtiKeyQwertyP, EPtiCaseUpper, 64, 1},
- {EPtiKeyQwertyMinus, EPtiCaseUpper, 65, 1},
- {EPtiKeyQwertyHash, EPtiCaseUpper, 66, 1},
- {EPtiKeyQwertyA, EPtiCaseUpper, 67, 1},
- {EPtiKeyQwertyS, EPtiCaseUpper, 68, 1},
- {EPtiKeyQwertyD, EPtiCaseUpper, 69, 1},
- {EPtiKeyQwertyF, EPtiCaseUpper, 70, 1},
- {EPtiKeyQwertyG, EPtiCaseUpper, 71, 1},
- {EPtiKeyQwertyH, EPtiCaseUpper, 72, 1},
- {EPtiKeyQwertyJ, EPtiCaseUpper, 73, 1},
- {EPtiKeyQwertyK, EPtiCaseUpper, 74, 1},
- {EPtiKeyQwertyL, EPtiCaseUpper, 75, 1},
- {EPtiKeyQwertySemicolon, EPtiCaseUpper, 76, 1},
- {EPtiKeyQwertyApostrophe, EPtiCaseUpper, 77, 1},
- {EPtiKeyQwertyZ, EPtiCaseUpper, 78, 1},
- {EPtiKeyQwertyX, EPtiCaseUpper, 79, 1},
- {EPtiKeyQwertyC, EPtiCaseUpper, 80, 1},
- {EPtiKeyQwertyV, EPtiCaseUpper, 81, 1},
- {EPtiKeyQwertyB, EPtiCaseUpper, 82, 1},
- {EPtiKeyQwertyN, EPtiCaseUpper, 83, 1},
- {EPtiKeyQwertyM, EPtiCaseUpper, 84, 1},
- {EPtiKeyQwertyComma, EPtiCaseUpper, 85, 1},
- {EPtiKeyQwertyFullstop, EPtiCaseUpper, 86, 1},
- {EPtiKeyQwertySlash, EPtiCaseUpper, 87, 1},
+ {EPtiKeyQwertyApostrophe, EPtiCaseLower, 33, 0},
+ {0x5b, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertyZ, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertyX, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertyC, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertyV, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertyB, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertyN, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertyM, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertyComma, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertyFullstop, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertySlash, EPtiCaseLower, 33, 0},
+ {EPtiKeyQwertyAtCharacter, EPtiCaseUpper, 33, 1},
+ {EPtiKeyQwerty1, EPtiCaseUpper, 34, 1},
+ {EPtiKeyQwerty2, EPtiCaseUpper, 35, 1},
+ {EPtiKeyQwerty3, EPtiCaseUpper, 36, 1},
+ {EPtiKeyQwerty4, EPtiCaseUpper, 37, 1},
+ {EPtiKeyQwerty5, EPtiCaseUpper, 38, 1},
+ {EPtiKeyQwerty6, EPtiCaseUpper, 39, 1},
+ {EPtiKeyQwerty7, EPtiCaseUpper, 40, 1},
+ {EPtiKeyQwerty8, EPtiCaseUpper, 41, 1},
+ {EPtiKeyQwerty9, EPtiCaseUpper, 42, 1},
+ {EPtiKeyQwerty0, EPtiCaseUpper, 43, 1},
+ {EPtiKeyQwertyPlus, EPtiCaseUpper, 44, 1},
+ {EPtiKeyQwertyQ, EPtiCaseUpper, 45, 1},
+ {EPtiKeyQwertyW, EPtiCaseUpper, 46, 1},
+ {EPtiKeyQwertyE, EPtiCaseUpper, 47, 1},
+ {EPtiKeyQwertyR, EPtiCaseUpper, 48, 1},
+ {EPtiKeyQwertyT, EPtiCaseUpper, 49, 1},
+ {EPtiKeyQwertyY, EPtiCaseUpper, 50, 1},
+ {EPtiKeyQwertyU, EPtiCaseUpper, 51, 1},
+ {EPtiKeyQwertyI, EPtiCaseUpper, 52, 1},
+ {EPtiKeyQwertyO, EPtiCaseUpper, 53, 1},
+ {EPtiKeyQwertyP, EPtiCaseUpper, 54, 1},
+ {EPtiKeyQwertyMinus, EPtiCaseUpper, 55, 0},
+ {EPtiKeyQwertyHash, EPtiCaseUpper, 55, 1},
+ {EPtiKeyQwertyA, EPtiCaseUpper, 56, 1},
+ {EPtiKeyQwertyS, EPtiCaseUpper, 57, 1},
+ {EPtiKeyQwertyD, EPtiCaseUpper, 58, 1},
+ {EPtiKeyQwertyF, EPtiCaseUpper, 59, 1},
+ {EPtiKeyQwertyG, EPtiCaseUpper, 60, 1},
+ {EPtiKeyQwertyH, EPtiCaseUpper, 61, 1},
+ {EPtiKeyQwertyJ, EPtiCaseUpper, 62, 1},
+ {EPtiKeyQwertyK, EPtiCaseUpper, 63, 1},
+ {EPtiKeyQwertyL, EPtiCaseUpper, 64, 1},
+ {EPtiKeyQwertySemicolon, EPtiCaseUpper, 65, 1},
+ {EPtiKeyQwertyApostrophe, EPtiCaseUpper, 66, 0},
+ {0x5b, EPtiCaseUpper, 66, 0},
+ {EPtiKeyQwertyZ, EPtiCaseUpper, 66, 0},
+ {EPtiKeyQwertyX, EPtiCaseUpper, 66, 0},
+ {EPtiKeyQwertyC, EPtiCaseUpper, 66, 0},
+ {EPtiKeyQwertyV, EPtiCaseUpper, 66, 0},
+ {EPtiKeyQwertyB, EPtiCaseUpper, 66, 0},
+ {EPtiKeyQwertyN, EPtiCaseUpper, 66, 0},
+ {EPtiKeyQwertyM, EPtiCaseUpper, 66, 0},
+ {EPtiKeyQwertyComma, EPtiCaseUpper, 66, 0},
+ {EPtiKeyQwertyFullstop, EPtiCaseUpper, 66, 0},
+ {EPtiKeyQwertySlash, EPtiCaseUpper, 66, 0},
};
-const TInt KMaxStandardQwertyIndex_Hebrew = 88;
-
+const TInt KMaxStandardQwertyIndex_Hebrew = 92;
//
-// Numeric key data table for StandardQwerty
-//
-const TPtiNumericKeyBinding StandardQwertyNumericKeysData_table_Hebrew[] =
- {
- {'p',EPtiKeyQwertyP,EPtiCaseLower},
- {'w',EPtiKeyQwertyW,EPtiCaseLower},
- {'E',EPtiKeyQwertyE,EPtiCaseUpper},
- };
-
-const TInt KNumStandardQwertyNumericKeysEntries_Hebrew = 3;
-//
// MiniQwerty keymap data table
//
const TUint16 MiniQwertyData_table_Hebrew[] =
@@ -563,12 +533,6 @@
const TPtiNumericKeyBinding* CPtiLangDataImplHebrew::NumericModeKeysTable(TPtiKeyboardType aKeyboardType, TInt& aNumEntries) const
{
- if (aKeyboardType == EPtiKeyboardQwerty4x12)
- {
- aNumEntries = KNumStandardQwertyNumericKeysEntries_Hebrew;
- return StandardQwertyNumericKeysData_table_Hebrew;
- }
-
if (aKeyboardType == EPtiKeyboardQwerty4x10)
{
aNumEntries = KNumMiniQwertyNumericKeysEntries_Hebrew;
@@ -580,10 +544,3 @@
}
-
-TBool CPtiLangDataImplHebrew::SuitableForLatinOnlyMode() const
- {
- return EFalse;
- }
-
-