/*
* 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_27.h"

//
// Multitap keymap data table
//
const TUint16 MultitapData_table_Polish[] =
    {
     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,0x105,0x62,0x63,0x107,0x32,0xe1,0xe2,0xe4,0x103,0x10d,
     0x64,0x65,0x119,0x66,0x33,0x10f,0x111,0xe9,0x11b,
     0x67,0x68,0x69,0x34,0xed,0xee,
     0x6a,0x6b,0x6c,0x142,0x35,0x13a,0x13e,0xa3,
     0x6d,0x6e,0x144,0x6f,0xf3,0x36,0x148,0xf4,0xf6,0x151,
     0x70,0x71,0x72,0x73,0x15b,0x37,0x155,0x159,0x15f,0x161,0xdf,0x24,
     0x74,0x75,0x76,0x38,0x163,0x165,0xfa,0xfc,0x16f,0x171,
     0x77,0x78,0x79,0x7a,0x17a,0x17c,0x39,0xfd,0x17e,
     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,0x104,0x42,0x43,0x106,0x32,0xc1,0xc2,0xc4,0x102,0x10c,
     0x44,0x45,0x118,0x46,0x33,0x10e,0x110,0xc9,0x11a,
     0x47,0x48,0x49,0x34,0xcd,0xce,
     0x4a,0x4b,0x4c,0x141,0x35,0x139,0x13d,0xa3,
     0x4d,0x4e,0x143,0x4f,0xd3,0x36,0x147,0xd4,0xd6,0x150,
     0x50,0x51,0x52,0x53,0x15a,0x37,0x154,0x158,0x15e,0x160,0x24,
     0x54,0x55,0x56,0x38,0x162,0x164,0xda,0xdc,0x16e,0x170,
     0x57,0x58,0x59,0x5a,0x179,0x17b,0x39,0xdd,0x17d,
     0x20,0x30,0x21b2,
    };

const TInt KMultitapDataSize_Polish = 215;


const TPtiKeyBinding MultitapKeyBindings_table_Polish[] =
    {
        {EPtiKey1, EPtiCaseLower, 0, 30},
        {EPtiKey2, EPtiCaseLower, 30, 11},
        {EPtiKey3, EPtiCaseLower, 41, 9},
        {EPtiKey4, EPtiCaseLower, 50, 6},
        {EPtiKey5, EPtiCaseLower, 56, 8},
        {EPtiKey6, EPtiCaseLower, 64, 10},
        {EPtiKey7, EPtiCaseLower, 74, 12},
        {EPtiKey8, EPtiCaseLower, 86, 10},
        {EPtiKey9, EPtiCaseLower, 96, 9},
        {EPtiKeyStar, EPtiCaseLower, 105, 0},
        {EPtiKey0, EPtiCaseLower, 105, 3},
        {EPtiKeyHash, EPtiCaseLower, 108, 0},
        {EPtiKey1, EPtiCaseUpper, 108, 30},
        {EPtiKey2, EPtiCaseUpper, 138, 11},
        {EPtiKey3, EPtiCaseUpper, 149, 9},
        {EPtiKey4, EPtiCaseUpper, 158, 6},
        {EPtiKey5, EPtiCaseUpper, 164, 8},
        {EPtiKey6, EPtiCaseUpper, 172, 10},
        {EPtiKey7, EPtiCaseUpper, 182, 11},
        {EPtiKey8, EPtiCaseUpper, 193, 10},
        {EPtiKey9, EPtiCaseUpper, 203, 9},
        {EPtiKeyStar, EPtiCaseUpper, 212, 0},
        {EPtiKey0, EPtiCaseUpper, 212, 3},
        {EPtiKeyHash, EPtiCaseUpper, 215, 0},
    };

const TInt KMaxMultitapIndex_Polish = 24;

//
// StandardQwerty keymap data table
//
const TUint16 StandardQwertyData_table_Polish[] =
    {
     0x0071,
     0x0077,
     0x0065,0x00E9,
     0x0072,0x0155,
     0x0074,
     0x0079,0x00FD,
     0x0075,0x00FA,
     0x0069,0x00ED,
     0x006F,0x00F3,
     0x0070,
     0x017C,
     0x0061,0x00E1,
     0x0073,0x015B,
     0x0064,
     0x0066,
     0x0067,
     0x0068,
     0x006A,
     0x006B,
     0x006C,0x013A,
     0x0142,
     0xF001,0x00B4,
     0x007A,0x017A,
     0x0078,
     0x0063,0x0107,
     0x0076,
     0x0062,
     0x006E,0x0144,
     0x006D,
     0x002E,
     0x003F,
     0x0105,
     0x0119,
     0x0051,
     0x0057,
     0x0045,0x00C9,
     0x0052,0x0154,
     0x0054,
     0x0059,0x00DD,
     0x0055,0x00DA,
     0x0049,0x00CD,
     0x004F,0x00D3,
     0x0050,
     0x017B,
     0x0041,0x00C1,
     0x0053,0x015A,
     0x0044,
     0x0046,
     0x0047,
     0x0048,
     0x004A,
     0x004B,
     0x004C,0x0139,
     0x0141,
     0xF001,0x00B4,
     0x005A,0x0179,
     0x0058,
     0x0043,0x0106,
     0x0056,
     0x0042,
     0x004E,0x0143,
     0x004D,
     0x002C,
     0x0021,
     0x0104,
     0x0118,
    };

const TInt KStandardQwertyDataSize_Polish = 92;


const TPtiKeyBinding StandardQwertyKeyBindings_table_Polish[] =
    {
        {EPtiKeyQwertyAtCharacter, EPtiCaseLower, 0, 1},
        {EPtiKeyQwerty1, EPtiCaseLower, 1, 1},
        {EPtiKeyQwerty2, EPtiCaseLower, 2, 2},
        {EPtiKeyQwerty3, EPtiCaseLower, 4, 2},
        {EPtiKeyQwerty4, EPtiCaseLower, 6, 1},
        {EPtiKeyQwerty5, EPtiCaseLower, 7, 2},
        {EPtiKeyQwerty6, EPtiCaseLower, 9, 2},
        {EPtiKeyQwerty7, EPtiCaseLower, 11, 2},
        {EPtiKeyQwerty8, EPtiCaseLower, 13, 2},
        {EPtiKeyQwerty9, EPtiCaseLower, 15, 1},
        {EPtiKeyQwerty0, EPtiCaseLower, 16, 1},
        {EPtiKeyQwertyPlus, EPtiCaseLower, 17, 2},
        {EPtiKeyQwertyQ, EPtiCaseLower, 19, 2},
        {EPtiKeyQwertyW, EPtiCaseLower, 21, 1},
        {EPtiKeyQwertyE, EPtiCaseLower, 22, 1},
        {EPtiKeyQwertyR, EPtiCaseLower, 23, 1},
        {EPtiKeyQwertyT, EPtiCaseLower, 24, 1},
        {EPtiKeyQwertyY, EPtiCaseLower, 25, 1},
        {EPtiKeyQwertyU, EPtiCaseLower, 26, 1},
        {EPtiKeyQwertyI, EPtiCaseLower, 27, 2},
        {EPtiKeyQwertyO, EPtiCaseLower, 29, 1},
        {EPtiKeyQwertyP, EPtiCaseLower, 30, 2},
        {EPtiKeyQwertyMinus, EPtiCaseLower, 32, 0},
        {EPtiKeyQwertyHash, EPtiCaseLower, 32, 2},
        {EPtiKeyQwertyA, EPtiCaseLower, 34, 1},
        {EPtiKeyQwertyS, EPtiCaseLower, 35, 2},
        {EPtiKeyQwertyD, EPtiCaseLower, 37, 1},
        {EPtiKeyQwertyF, EPtiCaseLower, 38, 1},
        {EPtiKeyQwertyG, EPtiCaseLower, 39, 2},
        {EPtiKeyQwertyH, EPtiCaseLower, 41, 1},
        {EPtiKeyQwertyJ, EPtiCaseLower, 42, 1},
        {EPtiKeyQwertyK, EPtiCaseLower, 43, 1},
        {EPtiKeyQwertyL, EPtiCaseLower, 44, 1},
        {EPtiKeyQwertySemicolon, EPtiCaseLower, 45, 1},
        {EPtiKeyQwertyApostrophe, EPtiCaseLower, 46, 0},
        {0x5b, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertyZ, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertyX, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertyC, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertyV, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertyB, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertyN, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertyM, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertyComma, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertyFullstop, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertySlash, EPtiCaseLower, 46, 0},
        {EPtiKeyQwertyAtCharacter, EPtiCaseUpper, 46, 1},
        {EPtiKeyQwerty1, EPtiCaseUpper, 47, 1},
        {EPtiKeyQwerty2, EPtiCaseUpper, 48, 2},
        {EPtiKeyQwerty3, EPtiCaseUpper, 50, 2},
        {EPtiKeyQwerty4, EPtiCaseUpper, 52, 1},
        {EPtiKeyQwerty5, EPtiCaseUpper, 53, 2},
        {EPtiKeyQwerty6, EPtiCaseUpper, 55, 2},
        {EPtiKeyQwerty7, EPtiCaseUpper, 57, 2},
        {EPtiKeyQwerty8, EPtiCaseUpper, 59, 2},
        {EPtiKeyQwerty9, EPtiCaseUpper, 61, 1},
        {EPtiKeyQwerty0, EPtiCaseUpper, 62, 1},
        {EPtiKeyQwertyPlus, EPtiCaseUpper, 63, 2},
        {EPtiKeyQwertyQ, EPtiCaseUpper, 65, 2},
        {EPtiKeyQwertyW, EPtiCaseUpper, 67, 1},
        {EPtiKeyQwertyE, EPtiCaseUpper, 68, 1},
        {EPtiKeyQwertyR, EPtiCaseUpper, 69, 1},
        {EPtiKeyQwertyT, EPtiCaseUpper, 70, 1},
        {EPtiKeyQwertyY, EPtiCaseUpper, 71, 1},
        {EPtiKeyQwertyU, EPtiCaseUpper, 72, 1},
        {EPtiKeyQwertyI, EPtiCaseUpper, 73, 2},
        {EPtiKeyQwertyO, EPtiCaseUpper, 75, 1},
        {EPtiKeyQwertyP, EPtiCaseUpper, 76, 2},
        {EPtiKeyQwertyMinus, EPtiCaseUpper, 78, 0},
        {EPtiKeyQwertyHash, EPtiCaseUpper, 78, 2},
        {EPtiKeyQwertyA, EPtiCaseUpper, 80, 1},
        {EPtiKeyQwertyS, EPtiCaseUpper, 81, 2},
        {EPtiKeyQwertyD, EPtiCaseUpper, 83, 1},
        {EPtiKeyQwertyF, EPtiCaseUpper, 84, 1},
        {EPtiKeyQwertyG, EPtiCaseUpper, 85, 2},
        {EPtiKeyQwertyH, EPtiCaseUpper, 87, 1},
        {EPtiKeyQwertyJ, EPtiCaseUpper, 88, 1},
        {EPtiKeyQwertyK, EPtiCaseUpper, 89, 1},
        {EPtiKeyQwertyL, EPtiCaseUpper, 90, 1},
        {EPtiKeyQwertySemicolon, EPtiCaseUpper, 91, 1},
        {EPtiKeyQwertyApostrophe, EPtiCaseUpper, 92, 0},
        {0x5b, EPtiCaseUpper, 92, 0},
        {EPtiKeyQwertyZ, EPtiCaseUpper, 92, 0},
        {EPtiKeyQwertyX, EPtiCaseUpper, 92, 0},
        {EPtiKeyQwertyC, EPtiCaseUpper, 92, 0},
        {EPtiKeyQwertyV, EPtiCaseUpper, 92, 0},
        {EPtiKeyQwertyB, EPtiCaseUpper, 92, 0},
        {EPtiKeyQwertyN, EPtiCaseUpper, 92, 0},
        {EPtiKeyQwertyM, EPtiCaseUpper, 92, 0},
        {EPtiKeyQwertyComma, EPtiCaseUpper, 92, 0},
        {EPtiKeyQwertyFullstop, EPtiCaseUpper, 92, 0},
        {EPtiKeyQwertySlash, EPtiCaseUpper, 92, 0},
    };

const TInt KMaxStandardQwertyIndex_Polish = 92;


//
// Dead key data table for StandardQwerty
//
const TUint16 StandardQwertyDeadKeyData_table_Polish[] =
    {
    2,  0x00E9,0xf000,0xf000,0xf000,0xf000,
    3,  0x0155,0xf000,0xf000,0xf000,0xf000,
    5,  0x00FD,0xf000,0xf000,0xf000,0xf000,
    6,  0x00FA,0xf000,0xf000,0xf000,0xf000,
    7,  0x00ED,0xf000,0xf000,0xf000,0xf000,
    8,  0x00F3,0xf000,0xf000,0xf000,0xf000,
    11,  0x00E1,0xf000,0xf000,0xf000,0xf000,
    12,  0x015B,0xf000,0xf000,0xf000,0xf000,
    19,  0x013A,0xf000,0xf000,0xf000,0xf000,
    22,  0x017A,0xf000,0xf000,0xf000,0xf000,
    24,  0x0107,0xf000,0xf000,0xf000,0xf000,
    27,  0x0144,0xf000,0xf000,0xf000,0xf000,
    35,  0x00C9,0xf000,0xf000,0xf000,0xf000,
    36,  0x0154,0xf000,0xf000,0xf000,0xf000,
    38,  0x00DD,0xf000,0xf000,0xf000,0xf000,
    39,  0x00DA,0xf000,0xf000,0xf000,0xf000,
    40,  0x00CD,0xf000,0xf000,0xf000,0xf000,
    41,  0x00D3,0xf000,0xf000,0xf000,0xf000,
    44,  0x00C1,0xf000,0xf000,0xf000,0xf000,
    45,  0x015A,0xf000,0xf000,0xf000,0xf000,
    52,  0x0139,0xf000,0xf000,0xf000,0xf000,
    55,  0x0179,0xf000,0xf000,0xf000,0xf000,
    57,  0x0106,0xf000,0xf000,0xf000,0xf000,
    60,  0x0143,0xf000,0xf000,0xf000,0xf000,
    };

const TInt KStandardQwertyDeadKeyTableRows_Polish = 24;

//
// MiniQwerty keymap data table
//
const TUint16 MiniQwertyData_table_Polish[] =
    {
     0x0071,
     0x0077,
     0x0065,0x0119,0x00E9,0x011B,
     0x0072,0x0155,0x0159,
     0x0074,0x0163,0x0165,
     0x0079,0x00FD,
     0x0075,0x00FA,0x00FC,0x016F,0x0171,
     0x0069,0x00ED,0x00EE,
     0x006F,0x00F3,0x00F4,0x00F6,0x0151,
     0x0070,
     0x0061,0x0105,0x00E1,0x00E2,0x00E4,0x0103,
     0x0073,0x015B,0x015F,0x0161,0x00DF,
     0x0064,0x010F,0x0111,
     0x0066,
     0x0067,
     0x0068,
     0x006A,
     0x006B,
     0x006C,0x0142,0x013E,0x013A,
     0x007A,0x017C,0x017E,0x017A,
     0x0078,0x017A,
     0x0063,0x0107,0x010D,
     0x0076,
     0x0062,
     0x006E,0x0144,0x0148,
     0x006D,
     0x002C,
     0x002E,
     0x0040,
     0x0026,
     0x0027,
     0x003F,
     0x0051,
     0x0057,
     0x0045,0x0118,0x00C9,0x011A,
     0x0052,0x0154,0x0158,
     0x0054,0x0162,0x0164,
     0x0059,0x00DD,
     0x0055,0x00DA,0x00DC,0x016E,0x0170,
     0x0049,0x00CD,0x00CE,
     0x004F,0x00D3,0x00D4,0x00D6,0x0150,
     0x0050,
     0x0041,0x0104,0x00C1,0x00C2,0x00C4,0x0102,
     0x0053,0x015A,0x015E,0x0160,
     0x0044,0x010E,0x0110,
     0x0046,
     0x0047,
     0x0048,
     0x004A,
     0x004B,
     0x004C,0x0141,0x013D,0x0139,
     0x005A,0x017B,0x017D,0x0179,
     0x0058,0x0179,
     0x0043,0x0106,0x010C,
     0x0056,
     0x0042,
     0x004E,0x0143,0x0147,
     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_Polish = 172;


const TPtiKeyBinding MiniQwertyKeyBindings_table_Polish[] =
    {
        {EPtiKeyQwerty1, EPtiCaseLower, 0, 1},
        {EPtiKeyQwerty2, EPtiCaseLower, 1, 1},
        {EPtiKeyQwerty3, EPtiCaseLower, 2, 4},
        {EPtiKeyQwerty4, EPtiCaseLower, 6, 3},
        {EPtiKeyQwerty5, EPtiCaseLower, 9, 3},
        {EPtiKeyQwerty6, EPtiCaseLower, 12, 2},
        {EPtiKeyQwerty7, EPtiCaseLower, 14, 5},
        {EPtiKeyQwerty8, EPtiCaseLower, 19, 3},
        {EPtiKeyQwerty9, EPtiCaseLower, 22, 5},
        {EPtiKeyQwerty0, EPtiCaseLower, 27, 1},
        {EPtiKeyQwertyA, EPtiCaseLower, 28, 6},
        {EPtiKeyQwertyS, EPtiCaseLower, 34, 5},
        {EPtiKeyQwertyD, EPtiCaseLower, 39, 3},
        {EPtiKeyQwertyF, EPtiCaseLower, 42, 1},
        {EPtiKeyQwertyG, EPtiCaseLower, 43, 1},
        {EPtiKeyQwertyH, EPtiCaseLower, 44, 1},
        {EPtiKeyQwertyJ, EPtiCaseLower, 45, 1},
        {EPtiKeyQwertyK, EPtiCaseLower, 46, 1},
        {EPtiKeyQwertyL, EPtiCaseLower, 47, 4},
        {EPtiKeyQwertyZ, EPtiCaseLower, 51, 4},
        {EPtiKeyQwertyX, EPtiCaseLower, 55, 2},
        {EPtiKeyQwertyC, EPtiCaseLower, 57, 3},
        {EPtiKeyQwertyV, EPtiCaseLower, 60, 1},
        {EPtiKeyQwertyB, EPtiCaseLower, 61, 1},
        {EPtiKeyQwertyN, EPtiCaseLower, 62, 3},
        {EPtiKeyQwertyM, EPtiCaseLower, 65, 1},
        {EPtiKeyQwertyComma, EPtiCaseLower, 66, 1},
        {EPtiKeyQwertyFullstop, EPtiCaseLower, 67, 1},
        {EPtiKeyQwerty1, EPtiCaseUpper, 72, 1},
        {EPtiKeyQwerty2, EPtiCaseUpper, 73, 1},
        {EPtiKeyQwerty3, EPtiCaseUpper, 74, 4},
        {EPtiKeyQwerty4, EPtiCaseUpper, 78, 3},
        {EPtiKeyQwerty5, EPtiCaseUpper, 81, 3},
        {EPtiKeyQwerty6, EPtiCaseUpper, 84, 2},
        {EPtiKeyQwerty7, EPtiCaseUpper, 86, 5},
        {EPtiKeyQwerty8, EPtiCaseUpper, 91, 3},
        {EPtiKeyQwerty9, EPtiCaseUpper, 94, 5},
        {EPtiKeyQwerty0, EPtiCaseUpper, 99, 1},
        {EPtiKeyQwertyA, EPtiCaseUpper, 100, 6},
        {EPtiKeyQwertyS, EPtiCaseUpper, 106, 4},
        {EPtiKeyQwertyD, EPtiCaseUpper, 110, 3},
        {EPtiKeyQwertyF, EPtiCaseUpper, 113, 1},
        {EPtiKeyQwertyG, EPtiCaseUpper, 114, 1},
        {EPtiKeyQwertyH, EPtiCaseUpper, 115, 1},
        {EPtiKeyQwertyJ, EPtiCaseUpper, 116, 1},
        {EPtiKeyQwertyK, EPtiCaseUpper, 117, 1},
        {EPtiKeyQwertyL, EPtiCaseUpper, 118, 4},
        {EPtiKeyQwertyZ, EPtiCaseUpper, 122, 4},
        {EPtiKeyQwertyX, EPtiCaseUpper, 126, 2},
        {EPtiKeyQwertyC, EPtiCaseUpper, 128, 3},
        {EPtiKeyQwertyV, EPtiCaseUpper, 131, 1},
        {EPtiKeyQwertyB, EPtiCaseUpper, 132, 1},
        {EPtiKeyQwertyN, EPtiCaseUpper, 133, 3},
        {EPtiKeyQwertyM, EPtiCaseUpper, 136, 1},
        {EPtiKeyQwertyComma, EPtiCaseUpper, 137, 1},
        {EPtiKeyQwertyFullstop, EPtiCaseUpper, 138, 1},
        {EPtiKeyQwerty1, EPtiCaseFnLower, 139, 1},
        {EPtiKeyQwerty2, EPtiCaseFnLower, 140, 1},
        {EPtiKeyQwerty3, EPtiCaseFnLower, 141, 1},
        {EPtiKeyQwerty4, EPtiCaseFnLower, 142, 1},
        {EPtiKeyQwerty5, EPtiCaseFnLower, 143, 1},
        {EPtiKeyQwerty6, EPtiCaseFnLower, 144, 1},
        {EPtiKeyQwerty7, EPtiCaseFnLower, 145, 1},
        {EPtiKeyQwerty8, EPtiCaseFnLower, 146, 1},
        {EPtiKeyQwerty9, EPtiCaseFnLower, 147, 1},
        {EPtiKeyQwertyA, EPtiCaseFnLower, 148, 1},
        {EPtiKeyQwertyS, EPtiCaseFnLower, 149, 1},
        {EPtiKeyQwertyD, EPtiCaseFnLower, 150, 1},
        {EPtiKeyQwertyF, EPtiCaseFnLower, 151, 1},
        {EPtiKeyQwertyG, EPtiCaseFnLower, 152, 1},
        {EPtiKeyQwertyH, EPtiCaseFnLower, 153, 1},
        {EPtiKeyQwertyJ, EPtiCaseFnLower, 154, 1},
        {EPtiKeyQwertyK, EPtiCaseFnLower, 155, 1},
        {EPtiKeyQwertyL, EPtiCaseFnLower, 156, 1},
        {EPtiKeyQwertyZ, EPtiCaseFnLower, 157, 1},
        {EPtiKeyQwertyX, EPtiCaseFnLower, 158, 1},
        {EPtiKeyQwertyC, EPtiCaseFnLower, 159, 1},
        {EPtiKeyQwertyV, EPtiCaseFnLower, 160, 1},
        {EPtiKeyQwertyB, EPtiCaseFnLower, 161, 1},
        {EPtiKeyQwertyN, EPtiCaseFnLower, 162, 1},
        {EPtiKeyQwertyM, EPtiCaseFnLower, 163, 1},
        {EPtiKeyQwertyComma, EPtiCaseFnLower, 164, 1},
        {EPtiKeyQwertyFullstop, EPtiCaseFnLower, 165, 1},
    };

const TInt KMaxMiniQwertyIndex_Polish = 83;

//
// Class implementation.
//

CPtiLangDataImplPolish* CPtiLangDataImplPolish::NewL()
    {
    return new (ELeave) CPtiLangDataImplPolish();
    }


TInt CPtiLangDataImplPolish::LanguageCode() const
    {
    return ELangPolish;
    }


const TUint16* CPtiLangDataImplPolish::KeyData(TPtiKeyboardType aKeyboardType, TInt& aDataSize) const
    {
    if (aKeyboardType == EPtiKeyboard12Key)
        {
        aDataSize = KMultitapDataSize_Polish;
        return MultitapData_table_Polish;
        }
    if (aKeyboardType == EPtiKeyboardQwerty4x12)
        {
        aDataSize = KStandardQwertyDataSize_Polish;
        return StandardQwertyData_table_Polish;
        }

    if (aKeyboardType == EPtiKeyboardQwerty4x10)
        {
        aDataSize = KMiniQwertyDataSize_Polish;
        return MiniQwertyData_table_Polish;
        }

    aDataSize = 0;
    return NULL;
    }


const TPtiKeyBinding* CPtiLangDataImplPolish::KeyBindingTable(TPtiKeyboardType aKeyboardType, TInt& aNumItems) const
    {
    if (aKeyboardType == EPtiKeyboard12Key)
        {
        aNumItems = KMaxMultitapIndex_Polish;
        return MultitapKeyBindings_table_Polish;
        }
    if (aKeyboardType == EPtiKeyboardQwerty4x12)
        {
        aNumItems = KMaxStandardQwertyIndex_Polish;
        return StandardQwertyKeyBindings_table_Polish;
        }
    if (aKeyboardType == EPtiKeyboardQwerty4x10)
        {
        aNumItems = KMaxMiniQwertyIndex_Polish;
        return MiniQwertyKeyBindings_table_Polish;
        }

    aNumItems = 0;
    return NULL;
    }


const TUint16* CPtiLangDataImplPolish::DeadKeyDataArray(TPtiKeyboardType aKeyboardType, TInt& aNumRowsInArray) const
    {
    if (aKeyboardType == EPtiKeyboardQwerty4x12)
        {
        aNumRowsInArray = KStandardQwertyDeadKeyTableRows_Polish;
        return StandardQwertyDeadKeyData_table_Polish;
        }

    aNumRowsInArray = 0;
    return NULL;
    }


