testexecfw/statsrv/device/source/statapi/inc/modifiers.h
changeset 0 3e07fef1e154
equal deleted inserted replaced
-1:000000000000 0:3e07fef1e154
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #if !defined(__MODIFIERS_H__)
       
    20 #define __MODIFIERS_H__
       
    21 
       
    22 #include <e32keys.h>
       
    23 
       
    24 //------------------------------------------------------------------------------
       
    25 
       
    26 #define NO_MORE_MODIFIERKEYS	_S("NO_MORE_MODIFIERKEYS")	// end of array
       
    27 
       
    28 const TText* const ENUM_TEXTMODIFIERSArray[] = 
       
    29 {
       
    30 	_S("Autorepeatable"),
       
    31 	_S("Keypad"),
       
    32 	_S("LeftAlt"),
       
    33 	_S("RightAlt"),
       
    34 	_S("Alt"),
       
    35 	_S("LeftCtrl"),
       
    36 	_S("RightCtrl"),
       
    37 	_S("Ctrl"),
       
    38 	_S("LeftShift"),
       
    39 	_S("RightShift"),
       
    40 	_S("Shift"),
       
    41 	_S("LeftFunc"),
       
    42 	_S("RightFunc"),
       
    43 	_S("Func"),
       
    44 	_S("CapsLock"),
       
    45 	_S("NumLock"),
       
    46 	_S("ScrollLock"),
       
    47 	_S("KeyUp"),
       
    48 	_S("Special"),
       
    49 	_S("DoubleClick"),
       
    50     _S("PureKeycode"),
       
    51 	_S("EAllModifiers"),
       
    52 	NO_MORE_MODIFIERKEYS
       
    53 };
       
    54 
       
    55 //------------------------------------------------------------------------------
       
    56 
       
    57 const TEventModifier ENUM_VALMODIFIERSArray[] =
       
    58 {
       
    59 	EModifierAutorepeatable,
       
    60 	EModifierKeypad,
       
    61 	EModifierLeftAlt,
       
    62 	EModifierRightAlt,
       
    63 	EModifierAlt,
       
    64 	EModifierLeftCtrl,
       
    65 	EModifierRightCtrl,
       
    66 	EModifierCtrl,
       
    67 	EModifierLeftShift,
       
    68 	EModifierRightShift,
       
    69 	EModifierShift,
       
    70 	EModifierLeftFunc,
       
    71 	EModifierRightFunc,
       
    72 	EModifierFunc,
       
    73 	EModifierCapsLock,
       
    74 	EModifierNumLock,
       
    75 	EModifierScrollLock,
       
    76 	EModifierKeyUp,
       
    77 	EModifierSpecial,
       
    78 	EModifierDoubleClick,
       
    79     EModifierPureKeycode,
       
    80 	EAllModifiers
       
    81 };
       
    82 
       
    83 #endif