/*
* 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 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".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Keymapping data implementation for
*
*/
#include <PtiKeyMapData.h>
#include <languages.hrh>
#include "PtiKeymappings_ITUT_51.h"
//
// Multitap keymap data table
//
const TUint16 MultitapData_table_French[] =
{
0x2e,0x2c,0x3f,0x21,0x31,0x40,0x27,0x2d,0x5f,0x28,0x29,0x3a,0x3b,0x26,0x2f,0x25,0x2a,0x23,0x2b,0x3c,0x3d,0x3e,0x22,0x24,0xa3,0xa7,0xa5,0xa4,0xa1,0xbf,
0x61,0x62,0x63,0x32,0xe0,0xe2,0xe6,0xe7,0xe4,0xe1,0xe3,
0x64,0x65,0x66,0x33,0xe9,0xe8,0xea,0xeb,
0x67,0x68,0x69,0x34,0xef,0xee,0xec,0xed,0x11f,0x131,
0x6a,0x6b,0x6c,0x35,
0x6d,0x6e,0x6f,0x36,0xf4,0x153,0xf6,0xf1,0xf2,0xf3,0xf8,
0x70,0x71,0x72,0x73,0x37,0x24,0xdf,
0x74,0x75,0x76,0x38,0xf9,0xfb,0xfc,0xfa,
0x77,0x78,0x79,0x7a,0x39,
0x20,0x30,0x21b2,
0x2e,0x2c,0x3f,0x21,0x31,0x40,0x27,0x2d,0x5f,0x28,0x29,0x3a,0x3b,0x26,0x2f,0x25,0x2a,0x23,0x2b,0x3c,0x3d,0x3e,0x22,0x24,0xa3,0xa7,0xa5,0xa4,0xa1,0xbf,
0x41,0x42,0x43,0x32,0xc0,0xc2,0xc6,0xc7,0xc4,0xc1,0xc3,
0x44,0x45,0x46,0x33,0xc9,0xc8,0xca,0xcb,
0x47,0x48,0x49,0x34,0xcf,0xce,0xcc,0xcd,0x11e,0x130,
0x4a,0x4b,0x4c,0x35,
0x4d,0x4e,0x4f,0x36,0xd4,0x152,0xd6,0xd1,0xd2,0xd3,0xd8,
0x50,0x51,0x52,0x53,0x37,0x24,
0x54,0x55,0x56,0x38,0xd9,0xdb,0xdc,0xda,
0x57,0x58,0x59,0x5a,0x39,
0x20,0x30,0x21b2,
};
const TInt KMultitapDataSize_French = 193;
const TPtiKeyBinding MultitapKeyBindings_table_French[] =
{
{EPtiKey1, EPtiCaseLower, 0, 30},
{EPtiKey2, EPtiCaseLower, 30, 11},
{EPtiKey3, EPtiCaseLower, 41, 8},
{EPtiKey4, EPtiCaseLower, 49, 10},
{EPtiKey5, EPtiCaseLower, 59, 4},
{EPtiKey6, EPtiCaseLower, 63, 11},
{EPtiKey7, EPtiCaseLower, 74, 7},
{EPtiKey8, EPtiCaseLower, 81, 8},
{EPtiKey9, EPtiCaseLower, 89, 5},
{EPtiKeyStar, EPtiCaseLower, 94, 0},
{EPtiKey0, EPtiCaseLower, 94, 3},
{EPtiKeyHash, EPtiCaseLower, 97, 0},
{EPtiKey1, EPtiCaseUpper, 97, 30},
{EPtiKey2, EPtiCaseUpper, 127, 11},
{EPtiKey3, EPtiCaseUpper, 138, 8},
{EPtiKey4, EPtiCaseUpper, 146, 10},
{EPtiKey5, EPtiCaseUpper, 156, 4},
{EPtiKey6, EPtiCaseUpper, 160, 11},
{EPtiKey7, EPtiCaseUpper, 171, 6},
{EPtiKey8, EPtiCaseUpper, 177, 8},
{EPtiKey9, EPtiCaseUpper, 185, 5},
{EPtiKeyStar, EPtiCaseUpper, 190, 0},
{EPtiKey0, EPtiCaseUpper, 190, 3},
{EPtiKeyHash, EPtiCaseUpper, 193, 0},
};
const TInt KMaxMultitapIndex_French = 24;
//
// StandardQwerty keymap data table
//
const TUint16 StandardQwertyData_table_French[] =
{
0x0071,
0x0077,
0x0065,0x00ea,0x00e8,0x00eb,0x00e9,
0x0072,0x0155,
0x0074,
0x0079,0x00ff,0x00fd,
0x0075,0x00fb,0x00f9,0x00fc,0x00fa,
0x0069,0x00ee,0x00ec,0x00ef,0x00ed,
0x006F,0x00f4,0x00f2,0x00F6,0x00f3,
0x0070,
0xF001,0x005E,
0x0061,0x00E2,0x00E0,0x00E1,
0x0073,0x015b,
0x0064,
0x0066,
0x0067,
0x0068,
0x006A,
0x006B,
0x006C,0x013a,
0xF004,0x00B4,
0xF002,0x0060,
0x007A,0x017a,
0x0078,
0x0063,0x0107,
0x0076,
0x0062,
0x006E,0x0144,
0x006D,
0x002E,
0x003F,
0x00E7,
0xF003,0x00A8,
0x0051,
0x0057,
0x0045,0x00ca,0x00c8,0x00cb,0x00c9,
0x0052,0x0154,
0x0054,
0x0059,0x0178,0x00dd,
0x0055,0x00db,0x00d9,0x00dc,0x00da,
0x0049,0x00ce,0x00cc,0x00cf,0x00cd,
0x004F,0x00d4,0x00d2,0x00D6,0x00d3,
0x0050,
0xF001,0x005E,
0x0041,0x00C2,0x00C0,0x00C1,
0x0053,0x015a,
0x0044,
0x0046,
0x0047,
0x0048,
0x004A,
0x004B,
0x004C,0x0139,
0xF004,0x00B4,
0xF002,0x0060,
0x005A,0x0179,
0x0058,
0x0043,0x0106,
0x0056,
0x0042,
0x004E,0x0143,
0x004D,
0x002C,
0x0027,
0x00C7,
0xF003,0x00A8,
};
const TInt KStandardQwertyDataSize_French = 128;
const TPtiKeyBinding StandardQwertyKeyBindings_table_French[] =
{
{EPtiKeyQwertyAtCharacter, EPtiCaseLower, 0, 1},
{EPtiKeyQwerty1, EPtiCaseLower, 1, 1},
{EPtiKeyQwerty2, EPtiCaseLower, 2, 5},
{EPtiKeyQwerty3, EPtiCaseLower, 7, 2},
{EPtiKeyQwerty4, EPtiCaseLower, 9, 1},
{EPtiKeyQwerty5, EPtiCaseLower, 10, 3},
{EPtiKeyQwerty6, EPtiCaseLower, 13, 5},
{EPtiKeyQwerty7, EPtiCaseLower, 18, 5},
{EPtiKeyQwerty8, EPtiCaseLower, 23, 5},
{EPtiKeyQwerty9, EPtiCaseLower, 28, 1},
{EPtiKeyQwerty0, EPtiCaseLower, 29, 2},
{EPtiKeyQwertyPlus, EPtiCaseLower, 31, 4},
{EPtiKeyQwertyQ, EPtiCaseLower, 35, 2},
{EPtiKeyQwertyW, EPtiCaseLower, 37, 1},
{EPtiKeyQwertyE, EPtiCaseLower, 38, 1},
{EPtiKeyQwertyR, EPtiCaseLower, 39, 1},
{EPtiKeyQwertyT, EPtiCaseLower, 40, 1},
{EPtiKeyQwertyY, EPtiCaseLower, 41, 1},
{EPtiKeyQwertyU, EPtiCaseLower, 42, 1},
{EPtiKeyQwertyI, EPtiCaseLower, 43, 2},
{EPtiKeyQwertyO, EPtiCaseLower, 45, 2},
{EPtiKeyQwertyP, EPtiCaseLower, 47, 2},
{EPtiKeyQwertyMinus, EPtiCaseLower, 49, 0},
{EPtiKeyQwertyHash, EPtiCaseLower, 49, 2},
{EPtiKeyQwertyA, EPtiCaseLower, 51, 1},
{EPtiKeyQwertyS, EPtiCaseLower, 52, 2},
{EPtiKeyQwertyD, EPtiCaseLower, 54, 1},
{EPtiKeyQwertyF, EPtiCaseLower, 55, 1},
{EPtiKeyQwertyG, EPtiCaseLower, 56, 2},
{EPtiKeyQwertyH, EPtiCaseLower, 58, 1},
{EPtiKeyQwertyJ, EPtiCaseLower, 59, 1},
{EPtiKeyQwertyK, EPtiCaseLower, 60, 1},
{EPtiKeyQwertyL, EPtiCaseLower, 61, 1},
{EPtiKeyQwertySemicolon, EPtiCaseLower, 62, 2},
{EPtiKeyQwertyApostrophe, EPtiCaseLower, 64, 0},
{0x5b, EPtiCaseLower, 64, 0},
{EPtiKeyQwertyZ, EPtiCaseLower, 64, 0},
{EPtiKeyQwertyX, EPtiCaseLower, 64, 0},
{EPtiKeyQwertyC, EPtiCaseLower, 64, 0},
{EPtiKeyQwertyV, EPtiCaseLower, 64, 0},
{EPtiKeyQwertyB, EPtiCaseLower, 64, 0},
{EPtiKeyQwertyN, EPtiCaseLower, 64, 0},
{EPtiKeyQwertyM, EPtiCaseLower, 64, 0},
{EPtiKeyQwertyComma, EPtiCaseLower, 64, 0},
{EPtiKeyQwertyFullstop, EPtiCaseLower, 64, 0},
{EPtiKeyQwertySlash, EPtiCaseLower, 64, 0},
{EPtiKeyQwertyAtCharacter, EPtiCaseUpper, 64, 1},
{EPtiKeyQwerty1, EPtiCaseUpper, 65, 1},
{EPtiKeyQwerty2, EPtiCaseUpper, 66, 5},
{EPtiKeyQwerty3, EPtiCaseUpper, 71, 2},
{EPtiKeyQwerty4, EPtiCaseUpper, 73, 1},
{EPtiKeyQwerty5, EPtiCaseUpper, 74, 3},
{EPtiKeyQwerty6, EPtiCaseUpper, 77, 5},
{EPtiKeyQwerty7, EPtiCaseUpper, 82, 5},
{EPtiKeyQwerty8, EPtiCaseUpper, 87, 5},
{EPtiKeyQwerty9, EPtiCaseUpper, 92, 1},
{EPtiKeyQwerty0, EPtiCaseUpper, 93, 2},
{EPtiKeyQwertyPlus, EPtiCaseUpper, 95, 4},
{EPtiKeyQwertyQ, EPtiCaseUpper, 99, 2},
{EPtiKeyQwertyW, EPtiCaseUpper, 101, 1},
{EPtiKeyQwertyE, EPtiCaseUpper, 102, 1},
{EPtiKeyQwertyR, EPtiCaseUpper, 103, 1},
{EPtiKeyQwertyT, EPtiCaseUpper, 104, 1},
{EPtiKeyQwertyY, EPtiCaseUpper, 105, 1},
{EPtiKeyQwertyU, EPtiCaseUpper, 106, 1},
{EPtiKeyQwertyI, EPtiCaseUpper, 107, 2},
{EPtiKeyQwertyO, EPtiCaseUpper, 109, 2},
{EPtiKeyQwertyP, EPtiCaseUpper, 111, 2},
{EPtiKeyQwertyMinus, EPtiCaseUpper, 113, 0},
{EPtiKeyQwertyHash, EPtiCaseUpper, 113, 2},
{EPtiKeyQwertyA, EPtiCaseUpper, 115, 1},
{EPtiKeyQwertyS, EPtiCaseUpper, 116, 2},
{EPtiKeyQwertyD, EPtiCaseUpper, 118, 1},
{EPtiKeyQwertyF, EPtiCaseUpper, 119, 1},
{EPtiKeyQwertyG, EPtiCaseUpper, 120, 2},
{EPtiKeyQwertyH, EPtiCaseUpper, 122, 1},
{EPtiKeyQwertyJ, EPtiCaseUpper, 123, 1},
{EPtiKeyQwertyK, EPtiCaseUpper, 124, 1},
{EPtiKeyQwertyL, EPtiCaseUpper, 125, 1},
{EPtiKeyQwertySemicolon, EPtiCaseUpper, 126, 2},
{EPtiKeyQwertyApostrophe, EPtiCaseUpper, 128, 0},
{0x5b, EPtiCaseUpper, 128, 0},
{EPtiKeyQwertyZ, EPtiCaseUpper, 128, 0},
{EPtiKeyQwertyX, EPtiCaseUpper, 128, 0},
{EPtiKeyQwertyC, EPtiCaseUpper, 128, 0},
{EPtiKeyQwertyV, EPtiCaseUpper, 128, 0},
{EPtiKeyQwertyB, EPtiCaseUpper, 128, 0},
{EPtiKeyQwertyN, EPtiCaseUpper, 128, 0},
{EPtiKeyQwertyM, EPtiCaseUpper, 128, 0},
{EPtiKeyQwertyComma, EPtiCaseUpper, 128, 0},
{EPtiKeyQwertyFullstop, EPtiCaseUpper, 128, 0},
{EPtiKeyQwertySlash, EPtiCaseUpper, 128, 0},
};
const TInt KMaxStandardQwertyIndex_French = 92;
//
// Dead key data table for StandardQwerty
//
const TUint16 StandardQwertyDeadKeyData_table_French[] =
{
2, 0x00ea,0x00e8,0x00eb,0x00e9,0xf000,
3, 0xf000,0xf000,0xf000,0x0155,0xf000,
5, 0xf000,0xf000,0x00ff,0x00fd,0xf000,
6, 0x00fb,0x00f9,0x00fc,0x00fa,0xf000,
7, 0x00ee,0x00ec,0x00ef,0x00ed,0xf000,
8, 0x00f4,0x00f2,0x00F6,0x00f3,0xf000,
11, 0x00E2,0x00E0,0xF000,0x00E1,0xF000,
12, 0xf000,0xf000,0xf000,0x015b,0xf000,
19, 0xf000,0xf000,0xf000,0x013a,0xf000,
22, 0xf000,0xf000,0xf000,0x017a,0xf000,
24, 0xf000,0xf000,0xf000,0x0107,0xf000,
27, 0xf000,0xf000,0xf000,0x0144,0xf000,
35, 0x00ca,0x00c8,0x00cb,0x00c9,0xf000,
36, 0xf000,0xf000,0xf000,0x0154,0xf000,
38, 0xf000,0xf000,0x0178,0x00dd,0xf000,
39, 0x00db,0x00d9,0x00dc,0x00da,0xf000,
40, 0x00ce,0x00cc,0x00cf,0x00cd,0xf000,
41, 0x00d4,0x00d2,0x00D6,0x00d3,0xf000,
44, 0x00C2,0x00C0,0xF000,0x00C1,0xF000,
45, 0xf000,0xf000,0xf000,0x015a,0xf000,
52, 0xf000,0xf000,0xf000,0x0139,0xf000,
55, 0xf000,0xf000,0xf000,0x0179,0xf000,
57, 0xf000,0xf000,0xf000,0x0106,0xf000,
60, 0xf000,0xf000,0xf000,0x0143,0xf000,
};
const TInt KStandardQwertyDeadKeyTableRows_French = 24;
//
// MiniQwerty keymap data table
//
const TUint16 MiniQwertyData_table_French[] =
{
0x0071,
0x0077,
0x0065,0x00EB,0x00EA,0x00E8,0x00E9,
0x0072,
0x0074,0x00FE,
0x0079,0x00FD,
0x0075,0x00F9,0x00FB,0x00FA,0x00FC,
0x0069,0x00EF,0x00EE,0x00EC,0x00ED,
0x006F,0x0153,0x00F4,0x00F2,0x00F3,0x00F5,0x00F6,0x00F8,
0x0070,
0x0061,0x00E6,0x00E2,0x00E0,0x00E1,0x00E3,0x00E4,0x00E5,
0x0073,0x00DF,
0x0064,0x00F0,
0x0066,
0x0067,0x011F,
0x0068,
0x006A,
0x006B,
0x006C,
0x007A,
0x0078,
0x0063,0x00E7,
0x0076,
0x0062,
0x006E,0x00F1,
0x006D,
0x002C,
0x002E,
0x0040,
0x0026,
0x0027,
0x003F,
0x0051,
0x0057,
0x0045,0x00CB,0x00CA,0x00C8,0x00C9,
0x0052,
0x0054,0x00DE,
0x0059,0x00DD,
0x0055,0x00D9,0x00DB,0x00DA,0x00DC,
0x0049,0x00CF,0x00CE,0x00CC,0x00CD,
0x004F,0x0152,0x00D4,0x00D2,0x00D3,0x00D5,0x00D6,0x00D8,
0x0050,
0x0041,0x00C6,0x00C2,0x00C0,0x00C1,0x00C3,0x00C4,0x00C5,
0x0053,
0x0044,0x00D0,
0x0046,
0x0047,0x011E,
0x0048,
0x004A,
0x004B,
0x004C,
0x005A,
0x0058,
0x0043,0x00C7,
0x0056,
0x0042,
0x004E,0x00D1,
0x004D,
0x003B,
0x003A,
0x0021,
0x0022,
0x0031,
0x0031,
0x0032,
0x0032,
0x0033,
0x0033,
0x002B,
0x002F,
0x0025,
0x0034,
0x0034,
0x0035,
0x0035,
0x0036,
0x0036,
0x002D,
0x0028,
0x0029,
0x0037,
0x0037,
0x0038,
0x0038,
0x0039,
0x0039,
0x003D,
0x002A,
0x002A,
0x0030,
0x0030,
0x0023,
0x0023,
};
const TInt KMiniQwertyDataSize_French = 158;
const TPtiKeyBinding MiniQwertyKeyBindings_table_French[] =
{
{EPtiKeyQwerty1, EPtiCaseLower, 0, 1},
{EPtiKeyQwerty2, EPtiCaseLower, 1, 1},
{EPtiKeyQwerty3, EPtiCaseLower, 2, 5},
{EPtiKeyQwerty4, EPtiCaseLower, 7, 1},
{EPtiKeyQwerty5, EPtiCaseLower, 8, 2},
{EPtiKeyQwerty6, EPtiCaseLower, 10, 2},
{EPtiKeyQwerty7, EPtiCaseLower, 12, 5},
{EPtiKeyQwerty8, EPtiCaseLower, 17, 5},
{EPtiKeyQwerty9, EPtiCaseLower, 22, 8},
{EPtiKeyQwerty0, EPtiCaseLower, 30, 1},
{EPtiKeyQwertyA, EPtiCaseLower, 31, 8},
{EPtiKeyQwertyS, EPtiCaseLower, 39, 2},
{EPtiKeyQwertyD, EPtiCaseLower, 41, 2},
{EPtiKeyQwertyF, EPtiCaseLower, 43, 1},
{EPtiKeyQwertyG, EPtiCaseLower, 44, 2},
{EPtiKeyQwertyH, EPtiCaseLower, 46, 1},
{EPtiKeyQwertyJ, EPtiCaseLower, 47, 1},
{EPtiKeyQwertyK, EPtiCaseLower, 48, 1},
{EPtiKeyQwertyL, EPtiCaseLower, 49, 1},
{EPtiKeyQwertyZ, EPtiCaseLower, 50, 1},
{EPtiKeyQwertyX, EPtiCaseLower, 51, 1},
{EPtiKeyQwertyC, EPtiCaseLower, 52, 2},
{EPtiKeyQwertyV, EPtiCaseLower, 54, 1},
{EPtiKeyQwertyB, EPtiCaseLower, 55, 1},
{EPtiKeyQwertyN, EPtiCaseLower, 56, 2},
{EPtiKeyQwertyM, EPtiCaseLower, 58, 1},
{EPtiKeyQwertyComma, EPtiCaseLower, 59, 1},
{EPtiKeyQwertyFullstop, EPtiCaseLower, 60, 1},
{EPtiKeyQwerty1, EPtiCaseUpper, 65, 1},
{EPtiKeyQwerty2, EPtiCaseUpper, 66, 1},
{EPtiKeyQwerty3, EPtiCaseUpper, 67, 5},
{EPtiKeyQwerty4, EPtiCaseUpper, 72, 1},
{EPtiKeyQwerty5, EPtiCaseUpper, 73, 2},
{EPtiKeyQwerty6, EPtiCaseUpper, 75, 2},
{EPtiKeyQwerty7, EPtiCaseUpper, 77, 5},
{EPtiKeyQwerty8, EPtiCaseUpper, 82, 5},
{EPtiKeyQwerty9, EPtiCaseUpper, 87, 8},
{EPtiKeyQwerty0, EPtiCaseUpper, 95, 1},
{EPtiKeyQwertyA, EPtiCaseUpper, 96, 8},
{EPtiKeyQwertyS, EPtiCaseUpper, 104, 1},
{EPtiKeyQwertyD, EPtiCaseUpper, 105, 2},
{EPtiKeyQwertyF, EPtiCaseUpper, 107, 1},
{EPtiKeyQwertyG, EPtiCaseUpper, 108, 2},
{EPtiKeyQwertyH, EPtiCaseUpper, 110, 1},
{EPtiKeyQwertyJ, EPtiCaseUpper, 111, 1},
{EPtiKeyQwertyK, EPtiCaseUpper, 112, 1},
{EPtiKeyQwertyL, EPtiCaseUpper, 113, 1},
{EPtiKeyQwertyZ, EPtiCaseUpper, 114, 1},
{EPtiKeyQwertyX, EPtiCaseUpper, 115, 1},
{EPtiKeyQwertyC, EPtiCaseUpper, 116, 2},
{EPtiKeyQwertyV, EPtiCaseUpper, 118, 1},
{EPtiKeyQwertyB, EPtiCaseUpper, 119, 1},
{EPtiKeyQwertyN, EPtiCaseUpper, 120, 2},
{EPtiKeyQwertyM, EPtiCaseUpper, 122, 1},
{EPtiKeyQwertyComma, EPtiCaseUpper, 123, 1},
{EPtiKeyQwertyFullstop, EPtiCaseUpper, 124, 1},
{EPtiKeyQwerty1, EPtiCaseFnLower, 125, 1},
{EPtiKeyQwerty2, EPtiCaseFnLower, 126, 1},
{EPtiKeyQwerty3, EPtiCaseFnLower, 127, 1},
{EPtiKeyQwerty4, EPtiCaseFnLower, 128, 1},
{EPtiKeyQwerty5, EPtiCaseFnLower, 129, 1},
{EPtiKeyQwerty6, EPtiCaseFnLower, 130, 1},
{EPtiKeyQwerty7, EPtiCaseFnLower, 131, 1},
{EPtiKeyQwerty8, EPtiCaseFnLower, 132, 1},
{EPtiKeyQwerty9, EPtiCaseFnLower, 133, 1},
{EPtiKeyQwertyA, EPtiCaseFnLower, 134, 1},
{EPtiKeyQwertyS, EPtiCaseFnLower, 135, 1},
{EPtiKeyQwertyD, EPtiCaseFnLower, 136, 1},
{EPtiKeyQwertyF, EPtiCaseFnLower, 137, 1},
{EPtiKeyQwertyG, EPtiCaseFnLower, 138, 1},
{EPtiKeyQwertyH, EPtiCaseFnLower, 139, 1},
{EPtiKeyQwertyJ, EPtiCaseFnLower, 140, 1},
{EPtiKeyQwertyK, EPtiCaseFnLower, 141, 1},
{EPtiKeyQwertyL, EPtiCaseFnLower, 142, 1},
{EPtiKeyQwertyZ, EPtiCaseFnLower, 143, 1},
{EPtiKeyQwertyX, EPtiCaseFnLower, 144, 1},
{EPtiKeyQwertyC, EPtiCaseFnLower, 145, 1},
{EPtiKeyQwertyV, EPtiCaseFnLower, 146, 1},
{EPtiKeyQwertyB, EPtiCaseFnLower, 147, 1},
{EPtiKeyQwertyN, EPtiCaseFnLower, 148, 1},
{EPtiKeyQwertyM, EPtiCaseFnLower, 149, 1},
{EPtiKeyQwertyComma, EPtiCaseFnLower, 150, 1},
{EPtiKeyQwertyFullstop, EPtiCaseFnLower, 151, 1},
};
const TInt KMaxMiniQwertyIndex_French = 83;
//
// MiniQwerty3x11 keymap data table
//
const TUint16 MiniQwerty3x11Data_table_French[] =
{
0x0061,0x00E6,0x00E2,0x00E0,0x00E1,0x00E3,0x00E4,0x00E5,
0x007A,
0x0065,0x00EB,0x00EA,0x00E8,0x00E9,
0x0072,
0x0074,0x00FE,
0x0079,0x00FD,
0x0075,0x00F9,0x00FB,0x00FA,0x00FC,
0x0069,0x00EF,0x00EE,0x00EC,0x00ED,
0x006F,0x0153,0x00F4,0x00F2,0x00F3,0x00F5,0x00F6,0x00F8,
0x0070,
0x0071,
0x0073,0x00DF,
0x0064,0x00F0,
0x0066,
0x0067,0x011F,
0x0068,
0x006A,
0x006B,
0x006C,
0x006D,
0x0077,
0x0078,
0x0063,0x00E7,
0x0076,
0x0062,
0x006E,0x00F1,
0x002C,
0x0041,0x00C6,0x00C2,0x00C0,0x00C1,0x00C3,0x00C4,0x00C5,
0x005A,
0x0045,0x00CB,0x00CA,0x00C8,0x00C9,
0x0052,
0x0054,0x00DE,
0x0059,0x00DD,
0x0055,0x00D9,0x00DB,0x00DA,0x00DC,
0x0049,0x00CF,0x00CE,0x00CC,0x00CD,
0x004F,0x0152,0x00D4,0x00D2,0x00D3,0x00D5,0x00D6,0x00D8,
0x0050,
0x0051,
0x0053,
0x0044,0x00D0,
0x0046,
0x0047,0x011E,
0x0048,
0x004A,
0x004B,
0x004C,
0x004D,
0x0057,
0x0058,
0x0043,0x00C7,
0x0056,
0x0042,
0x004E,0x00D1,
0x002E,
0x0031,
0x0032,
0x0033,
0x0034,
0x0035,
0x0036,
0x0037,
0x0038,
0x0039,
0x0030,
0x00E9,
0x00EA,
0x00E8,
0x002B,
0x002A,
0x0023,
0x002D,
0x003D,
0x0040,
0x002F,
0x00E7,
0x00E0,
0x0021,
0x003F,
0x003B,
0x003A,
0x0027,
0x00C9,
0x00CA,
0x00C8,
0x00C7,
0x00C0,
};
const TInt KMiniQwerty3x11DataSize_French = 151;
const TPtiKeyBinding MiniQwerty3x11KeyBindings_table_French[] =
{
{EPtiKeyQwertyQ, EPtiCaseLower, 0, 8},
{EPtiKeyQwertyW, EPtiCaseLower, 8, 1},
{EPtiKeyQwertyE, EPtiCaseLower, 9, 5},
{EPtiKeyQwertyR, EPtiCaseLower, 14, 1},
{EPtiKeyQwertyT, EPtiCaseLower, 15, 2},
{EPtiKeyQwertyY, EPtiCaseLower, 17, 2},
{EPtiKeyQwertyU, EPtiCaseLower, 19, 5},
{EPtiKeyQwertyI, EPtiCaseLower, 24, 5},
{EPtiKeyQwertyO, EPtiCaseLower, 29, 8},
{EPtiKeyQwertyP, EPtiCaseLower, 37, 1},
{EPtiKeyQwertyA, EPtiCaseLower, 38, 1},
{EPtiKeyQwertyS, EPtiCaseLower, 39, 2},
{EPtiKeyQwertyD, EPtiCaseLower, 41, 2},
{EPtiKeyQwertyF, EPtiCaseLower, 43, 1},
{EPtiKeyQwertyG, EPtiCaseLower, 44, 2},
{EPtiKeyQwertyH, EPtiCaseLower, 46, 1},
{EPtiKeyQwertyJ, EPtiCaseLower, 47, 1},
{EPtiKeyQwertyK, EPtiCaseLower, 48, 1},
{EPtiKeyQwertyL, EPtiCaseLower, 49, 1},
{EPtiKeyQwertyComma, EPtiCaseLower, 50, 1},
{EPtiKeyQwertyZ, EPtiCaseLower, 51, 1},
{EPtiKeyQwertyX, EPtiCaseLower, 52, 1},
{EPtiKeyQwertyC, EPtiCaseLower, 53, 2},
{EPtiKeyQwertyV, EPtiCaseLower, 55, 1},
{EPtiKeyQwertyB, EPtiCaseLower, 56, 1},
{EPtiKeyQwertyN, EPtiCaseLower, 57, 2},
{EPtiKeyQwertyM, EPtiCaseLower, 59, 1},
{EStdKeySpace, EPtiCaseLower, 60, 0},
{EPtiKeyQwertyQ, EPtiCaseUpper, 60, 8},
{EPtiKeyQwertyW, EPtiCaseUpper, 68, 1},
{EPtiKeyQwertyE, EPtiCaseUpper, 69, 5},
{EPtiKeyQwertyR, EPtiCaseUpper, 74, 1},
{EPtiKeyQwertyT, EPtiCaseUpper, 75, 2},
{EPtiKeyQwertyY, EPtiCaseUpper, 77, 2},
{EPtiKeyQwertyU, EPtiCaseUpper, 79, 5},
{EPtiKeyQwertyI, EPtiCaseUpper, 84, 5},
{EPtiKeyQwertyO, EPtiCaseUpper, 89, 8},
{EPtiKeyQwertyP, EPtiCaseUpper, 97, 1},
{EPtiKeyQwertyA, EPtiCaseUpper, 98, 1},
{EPtiKeyQwertyS, EPtiCaseUpper, 99, 1},
{EPtiKeyQwertyD, EPtiCaseUpper, 100, 2},
{EPtiKeyQwertyF, EPtiCaseUpper, 102, 1},
{EPtiKeyQwertyG, EPtiCaseUpper, 103, 2},
{EPtiKeyQwertyH, EPtiCaseUpper, 105, 1},
{EPtiKeyQwertyJ, EPtiCaseUpper, 106, 1},
{EPtiKeyQwertyK, EPtiCaseUpper, 107, 1},
{EPtiKeyQwertyL, EPtiCaseUpper, 108, 1},
{EPtiKeyQwertyComma, EPtiCaseUpper, 109, 1},
{EPtiKeyQwertyZ, EPtiCaseUpper, 110, 1},
{EPtiKeyQwertyX, EPtiCaseUpper, 111, 1},
{EPtiKeyQwertyC, EPtiCaseUpper, 112, 2},
{EPtiKeyQwertyV, EPtiCaseUpper, 114, 1},
{EPtiKeyQwertyB, EPtiCaseUpper, 115, 1},
{EPtiKeyQwertyN, EPtiCaseUpper, 116, 2},
{EPtiKeyQwertyM, EPtiCaseUpper, 118, 1},
{EStdKeySpace, EPtiCaseUpper, 119, 0},
{EPtiKeyQwertyQ, EPtiCaseFnLower, 119, 1},
{EPtiKeyQwertyW, EPtiCaseFnLower, 120, 1},
{EPtiKeyQwertyE, EPtiCaseFnLower, 121, 1},
{EPtiKeyQwertyR, EPtiCaseFnLower, 122, 1},
{EPtiKeyQwertyT, EPtiCaseFnLower, 123, 1},
{EPtiKeyQwertyY, EPtiCaseFnLower, 124, 1},
{EPtiKeyQwertyU, EPtiCaseFnLower, 125, 1},
{EPtiKeyQwertyI, EPtiCaseFnLower, 126, 1},
{EPtiKeyQwertyO, EPtiCaseFnLower, 127, 1},
{EPtiKeyQwertyP, EPtiCaseFnLower, 128, 1},
{EPtiKeyQwertyA, EPtiCaseFnLower, 129, 1},
{EPtiKeyQwertyS, EPtiCaseFnLower, 130, 1},
{EPtiKeyQwertyD, EPtiCaseFnLower, 131, 1},
{EPtiKeyQwertyF, EPtiCaseFnLower, 132, 1},
{EPtiKeyQwertyG, EPtiCaseFnLower, 133, 1},
{EPtiKeyQwertyH, EPtiCaseFnLower, 134, 1},
{EPtiKeyQwertyJ, EPtiCaseFnLower, 135, 1},
{EPtiKeyQwertyK, EPtiCaseFnLower, 136, 1},
{EPtiKeyQwertyL, EPtiCaseFnLower, 137, 1},
{EPtiKeyQwertyComma, EPtiCaseFnLower, 138, 1},
{EPtiKeyQwertyZ, EPtiCaseFnLower, 139, 1},
{EPtiKeyQwertyX, EPtiCaseFnLower, 140, 1},
{EPtiKeyQwertyC, EPtiCaseFnLower, 141, 1},
{EPtiKeyQwertyV, EPtiCaseFnLower, 142, 1},
{EPtiKeyQwertyB, EPtiCaseFnLower, 143, 1},
{EPtiKeyQwertyN, EPtiCaseFnLower, 144, 1},
{EPtiKeyQwertyM, EPtiCaseFnLower, 145, 1},
{EPtiKeyQwertyA, EPtiCaseFnUpper, 146, 1},
{EPtiKeyQwertyS, EPtiCaseFnUpper, 147, 1},
{EPtiKeyQwertyD, EPtiCaseFnUpper, 148, 1},
{EPtiKeyQwertyZ, EPtiCaseFnUpper, 149, 1},
{EPtiKeyQwertyX, EPtiCaseFnUpper, 150, 1},
};
const TInt KMaxMiniQwerty3x11Index_French = 88;
//
// Class implementation.
//
CPtiLangDataImplFrench* CPtiLangDataImplFrench::NewL()
{
return new (ELeave) CPtiLangDataImplFrench();
}
TInt CPtiLangDataImplFrench::LanguageCode() const
{
return ELangFrench;
}
const TUint16* CPtiLangDataImplFrench::KeyData(TPtiKeyboardType aKeyboardType, TInt& aDataSize) const
{
if (aKeyboardType == EPtiKeyboard12Key)
{
aDataSize = KMultitapDataSize_French;
return MultitapData_table_French;
}
if (aKeyboardType == EPtiKeyboardQwerty4x12)
{
aDataSize = KStandardQwertyDataSize_French;
return StandardQwertyData_table_French;
}
if (aKeyboardType == EPtiKeyboardQwerty4x10)
{
aDataSize = KMiniQwertyDataSize_French;
return MiniQwertyData_table_French;
}
if (aKeyboardType == EPtiKeyboardQwerty3x11)
{
aDataSize = KMiniQwerty3x11DataSize_French;
return MiniQwerty3x11Data_table_French;
}
aDataSize = 0;
return NULL;
}
const TPtiKeyBinding* CPtiLangDataImplFrench::KeyBindingTable(TPtiKeyboardType aKeyboardType, TInt& aNumItems) const
{
if (aKeyboardType == EPtiKeyboard12Key)
{
aNumItems = KMaxMultitapIndex_French;
return MultitapKeyBindings_table_French;
}
if (aKeyboardType == EPtiKeyboardQwerty4x12)
{
aNumItems = KMaxStandardQwertyIndex_French;
return StandardQwertyKeyBindings_table_French;
}
if (aKeyboardType == EPtiKeyboardQwerty4x10)
{
aNumItems = KMaxMiniQwertyIndex_French;
return MiniQwertyKeyBindings_table_French;
}
if (aKeyboardType == EPtiKeyboardQwerty3x11)
{
aNumItems = KMaxMiniQwerty3x11Index_French;
return MiniQwerty3x11KeyBindings_table_French;
}
aNumItems = 0;
return NULL;
}
const TUint16* CPtiLangDataImplFrench::DeadKeyDataArray(TPtiKeyboardType aKeyboardType, TInt& aNumRowsInArray) const
{
if (aKeyboardType == EPtiKeyboardQwerty4x12)
{
aNumRowsInArray = KStandardQwertyDeadKeyTableRows_French;
return StandardQwertyDeadKeyData_table_French;
}
aNumRowsInArray = 0;
return NULL;
}