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