os/graphics/windowing/windowserverplugins/keyeventrouting/src/keyaliases.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
// Key code and scan code aliases for platform specific keys.
sl@0
    15
// The definitions are as per S60 <mw/eikon.hrh> with the addition of the
sl@0
    16
// full set of scan codes.
sl@0
    17
sl@0
    18
/**
sl@0
    19
@file
sl@0
    20
@internalTechnology
sl@0
    21
@prototype
sl@0
    22
*/
sl@0
    23
sl@0
    24
#include <e32keys.h>
sl@0
    25
sl@0
    26
/**
sl@0
    27
TStdScanCode aliases
sl@0
    28
*/
sl@0
    29
#define EStdKeyPhoneSend		EStdKeyYes
sl@0
    30
#define EStdKeyPhoneEnd			EStdKeyNo
sl@0
    31
#define EStdKeyCBA1				EStdKeyDevice0
sl@0
    32
#define EStdKeyCBA2				EStdKeyDevice1
sl@0
    33
#define EStdKeyPowerOff			EStdKeyDevice2
sl@0
    34
#define EStdKeyOK				EStdKeyDevice3
sl@0
    35
#define EStdKeyGripOpen			EStdKeyDevice4
sl@0
    36
#define EStdKeyGripClose		EStdKeyDevice5
sl@0
    37
#define EStdKeySide				EStdKeyDevice6	// Voice key
sl@0
    38
#define EStdKeyCamera			EStdKeyDevice7
sl@0
    39
#define EStdKeyTwistOpen		EStdKeyDevice8
sl@0
    40
#define EStdKeyTwistClose		EStdKeyDevice9
sl@0
    41
#define EStdKeyFlipOpen			EStdKeyDeviceA
sl@0
    42
#define EStdKeyFlipClose		EStdKeyDeviceB
sl@0
    43
#define EStdKeyLock				EStdKeyDeviceF
sl@0
    44
#define EStdKeyLeftUpArrow		EStdKeyDevice10	// Diagonal arrow event
sl@0
    45
#define EStdKeyRightUpArrow		EStdKeyDevice11	// Diagonal arrow event
sl@0
    46
#define EStdKeyRightDownArrow	EStdKeyDevice12	// Diagonal arrow event
sl@0
    47
#define EStdKeyLeftDownArrow	EStdKeyDevice13	// Diagonal arrow event
sl@0
    48
#define EStdKeyVolumeUp			EStdKeyIncVolume
sl@0
    49
#define EStdKeyVolumeDown		EStdKeyDecVolume
sl@0
    50
#define EStdKeyApplication		EStdKeyApplication0
sl@0
    51
#define EStdKeyPoC				EStdKeyApplication1
sl@0
    52
#define EStdKeyPlay				EStdKeyApplication2
sl@0
    53
#define EStdKeyStop				EStdKeyApplication3
sl@0
    54
#define EStdKeyForward			EStdKeyApplication4
sl@0
    55
#define EStdKeyRewind			EStdKeyApplication5
sl@0
    56
#define EStdKeyOperator			EStdKeyApplication6
sl@0
    57
#define EStdKeyQwertyOn			EStdKeyApplication7
sl@0
    58
#define EStdKeyQwertyOff		EStdKeyApplication8
sl@0
    59
#define EStdKeyNext				EStdKeyApplication9
sl@0
    60
#define EStdKeyPrevious			EStdKeyApplicationA
sl@0
    61
#define EStdKeyHoldSwitch		EStdKeyApplicationB
sl@0
    62
#define EStdKeyZoomIn			EStdKeyApplicationC
sl@0
    63
#define EStdKeyZoomOut			EStdKeyApplicationD
sl@0
    64
#define EStdKey4x10QwertyOn		EStdKeyApplicationE
sl@0
    65
#define EStdKey3x11QwertyOn		EStdKeyApplication10
sl@0
    66
#define EStdKeyHalfQwertyOn		EStdKeyApplication11
sl@0
    67
#define EStdKeyCustomKeyboardOn	EStdKeyApplication12
sl@0
    68
sl@0
    69
/**
sl@0
    70
TKeyCode aliases
sl@0
    71
*/
sl@0
    72
#define EKeyPhoneSend			EKeyYes
sl@0
    73
#define EKeyPhoneEnd			EKeyNo
sl@0
    74
#define EKeyCBA1				EKeyDevice0
sl@0
    75
#define EKeyCBA2				EKeyDevice1
sl@0
    76
#define EKeyPowerOff			EKeyDevice2
sl@0
    77
#define EKeyOK					EKeyDevice3
sl@0
    78
#define EKeyGripOpen			EKeyDevice4
sl@0
    79
#define EKeyGripClose			EKeyDevice5
sl@0
    80
#define EKeySide				EKeyDevice6		// Voice key
sl@0
    81
#define EKeyCamera				EKeyDevice7
sl@0
    82
#define EKeyTwistOpen			EKeyDevice8
sl@0
    83
#define EKeyTwistClose			EKeyDevice9
sl@0
    84
#define EKeyFlipOpen			EKeyDeviceA
sl@0
    85
#define EKeyFlipClose			EKeyDeviceB
sl@0
    86
#define EKeyLock				EKeyDeviceF
sl@0
    87
#define EKeyLeftUpArrow			EKeyDevice10	// Diagonal arrow event
sl@0
    88
#define EKeyRightUpArrow		EKeyDevice11	// Diagonal arrow event
sl@0
    89
#define EKeyRightDownArrow		EKeyDevice12	// Diagonal arrow event
sl@0
    90
#define EKeyLeftDownArrow		EKeyDevice13	// Diagonal arrow event
sl@0
    91
#define EKeyVolumeUp			EKeyIncVolume
sl@0
    92
#define EKeyVolumeDown			EKeyDecVolume
sl@0
    93
#define EKeyApplication 		EKeyApplication0
sl@0
    94
#define EKeyPoC					EKeyApplication1
sl@0
    95
#define EKeyPlay				EKeyApplication2
sl@0
    96
#define EKeyStop				EKeyApplication3
sl@0
    97
#define EKeyForward				EKeyApplication4
sl@0
    98
#define EKeyRewind				EKeyApplication5
sl@0
    99
#define EKeyOperator			EKeyApplication6
sl@0
   100
#define EKeyQwertyOn			EKeyApplication7
sl@0
   101
#define EKeyQwertyOff			EKeyApplication8
sl@0
   102
#define EKeyNext				EKeyApplication9
sl@0
   103
#define EKeyPrevious			EKeyApplicationA
sl@0
   104
#define EKeyHoldSwitch			EKeyApplicationB
sl@0
   105
#define EKeyZoomIn				EKeyApplicationC
sl@0
   106
#define EKeyZoomOut				EKeyApplicationD
sl@0
   107
#define EKey4x10QwertyOn		EKeyApplicationE
sl@0
   108
#define EKey3x11QwertyOn		EKeyApplication10
sl@0
   109
#define EKeyHalfQwertyOn		EKeyApplication11
sl@0
   110
#define EKeyCustomKeyboardOn	EKeyApplication12