|
1 // Copyright (c) 1995-2009 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 the License "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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // e32\include\e32keys.h |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __E32KEYS_H__ |
|
19 #define __E32KEYS_H__ |
|
20 |
|
21 // Using #define instead of const TInt so this file is parsable by rcomp |
|
22 |
|
23 /** |
|
24 @publishedPartner |
|
25 @released |
|
26 |
|
27 Base code of range that doesn't correspond to a character |
|
28 */ |
|
29 #define ENonCharacterKeyBase 0xf800 |
|
30 |
|
31 /** |
|
32 @publishedPartner |
|
33 @released |
|
34 |
|
35 Size of range that doesn't correspond to a character |
|
36 */ |
|
37 #define ENonCharacterKeyCount 0x100 |
|
38 |
|
39 /** |
|
40 @publishedPartner |
|
41 @released |
|
42 |
|
43 Base code of range that is reserved for application framework use and guaranteed |
|
44 not to be produced by any keyboard. |
|
45 */ |
|
46 #define ESpecialKeyBase 0xf700 |
|
47 |
|
48 /** |
|
49 @publishedPartner |
|
50 @released |
|
51 |
|
52 Size of range that is reserved for application framework use and guaranteed |
|
53 not to be produced by any keyboard. |
|
54 */ |
|
55 #define ESpecialKeyCount 0x100 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 /** |
|
61 @publishedAll |
|
62 @released |
|
63 |
|
64 Modifier flags for a key or pointer event. |
|
65 |
|
66 The modifier flags for a key event are held in TKeyEvent::iModifiers. |
|
67 |
|
68 The modifier flags for a pointer event are held in TPointerEvent::iModifiers. |
|
69 |
|
70 @see TKeyEvent::iModifiers |
|
71 @see TPointerEvent::iModifiers |
|
72 */ |
|
73 enum TEventModifier |
|
74 { |
|
75 EModifierAutorepeatable=0x00000001, /**< Key event can auto-repeat.*/ |
|
76 EModifierKeypad=0x00000002, /**< The key that generated the event was on the numeric keypad, on the emulator.*/ |
|
77 EModifierLeftAlt=0x00000004, /**< Left Alt key.*/ |
|
78 EModifierRightAlt=0x00000008, /**< Right Alt key.*/ |
|
79 EModifierAlt=0x00000010, /**< Single Alt key.*/ |
|
80 EModifierLeftCtrl=0x00000020, /**< Left Control (Ctrl) key.*/ |
|
81 EModifierRightCtrl=0x00000040, /**< Right Control (Ctrl) key.*/ |
|
82 EModifierCtrl=0x00000080, /**< Single Control (Ctrl) key.*/ |
|
83 EModifierLeftShift=0x00000100, /**< Left Shift key.*/ |
|
84 EModifierRightShift=0x00000200, /**< Right Shift key.*/ |
|
85 EModifierShift=0x00000400, /**< Single Shift key.*/ |
|
86 EModifierLeftFunc=0x00000800, /**< Left Fn key.*/ |
|
87 EModifierRightFunc=0x00001000, /**< Right Fn key.*/ |
|
88 EModifierFunc=0x00002000, /**< Single Fn key.*/ |
|
89 EModifierCapsLock=0x00004000, /**< Caps lock key.*/ |
|
90 EModifierNumLock=0x00008000, /**< Num lock key.*/ |
|
91 EModifierScrollLock=0x00010000, /**< Scroll lock key.*/ |
|
92 EModifierKeyUp=0x00020000, /**< Key up event.*/ |
|
93 EModifierSpecial=0x00040000, /**< The keycode is a non-standard keyboard character that has been generated in a special keyboard mode, for example accented vowels.*/ |
|
94 EModifierDoubleClick=0x00080000, /**< Double click.*/ |
|
95 EModifierPureKeycode=0x00100000, /**< The key code in the key event is not changed. E.g.an alphabetic key is not changed by the Caps Lock or Shift key being pressed.*/ |
|
96 EModifierKeyboardExtend=0x00200000, /**< The "Keyboard extend" generated modifier. */ |
|
97 EModifierCancelRotation=0x00000000, /**< No Keyboard rotation is in effect. */ |
|
98 EModifierRotateBy90=0x00400000, /**< Keyboard rotation through 90 degrees clockwise is in effect. */ |
|
99 EModifierRotateBy180=0x00800000, /**< Keyboard rotation through 180 degrees clockwise is in effect. */ |
|
100 EModifierRotateBy270=0x01000000, /**< Keyboard rotation through 270 degrees clockwise is in effect. */ |
|
101 EModifierPointer3DButton1=0x02000000,/**< 3D pointer device specific modifier (button 1). */ |
|
102 EModifierPointer3DButton2=0x04000000,/**< 3D pointer device specific modifier (button 2). */ |
|
103 EModifierPointer3DButton3=0x08000000,/**< 3D pointer device specific modifier (button 3). */ |
|
104 EModifierAdvancedPointerEvent=0x10000000, /**< TPointerEvent is a TAdvancedPointerEvent.*/ |
|
105 EAllModifiers=0x1fffffff /**< A combination of all event modifiers.*/ |
|
106 }; |
|
107 |
|
108 |
|
109 |
|
110 |
|
111 /** |
|
112 @publishedAll |
|
113 @released |
|
114 |
|
115 Specifies the state of an event modifier, for instance Caps Lock or Num Lock. |
|
116 |
|
117 Event modifiers are enumerated in TEventModifier. |
|
118 The modifier state can be set using RWsSession::SetModifierState(). |
|
119 |
|
120 @see TEventModifier |
|
121 @see RWsSession::SetModifierState() |
|
122 */ |
|
123 enum TModifierState |
|
124 { |
|
125 ETurnOnModifier=0x40, /**< Switch on modifier.*/ |
|
126 ETurnOffModifier, /**< Switch off modifier.*/ |
|
127 EToggleModifier /**< Toggle the modifier on or off.*/ |
|
128 }; |
|
129 |
|
130 |
|
131 |
|
132 |
|
133 /** |
|
134 @publishedAll |
|
135 @released |
|
136 |
|
137 Scan codes for the physical keys found on keyboards. |
|
138 |
|
139 When processing a TKeyEvent, the TStdScanCode in TKeyEvent::iScanCode should |
|
140 usually be ignored in favour of the TKeyCode in TKeyEvent::iCode. |
|
141 |
|
142 Using iScanCode would bypass the keyboard mapping and any FEP that happens |
|
143 to be installed. The exceptions to this general rule are games where |
|
144 the positions of the keys are more important than their translations, |
|
145 and FEPs that are implementing keyboard maps themselves. In these cases, |
|
146 if the iCode is used rather than iScanCode to determine the key pressed, |
|
147 there will be two unfortunate consequences. |
|
148 First, the low-level keyboard mapping might re-arrange the mapping that |
|
149 you are trying to impose. |
|
150 Second, you will subvert the CTRL+number method of entering Unicode literals. |
|
151 |
|
152 @see TKeyEvent |
|
153 @see TStdScanCode |
|
154 */ |
|
155 enum TStdScanCode |
|
156 { |
|
157 EStdKeyNull=0x00, /**< No key present. */ |
|
158 EStdKeyBackspace=0x01, /**< Scan code for Backspace key.*/ |
|
159 EStdKeyTab=0x02, /**< Scan code for Tab key. */ |
|
160 EStdKeyEnter=0x03, /**< Scan code for Enter key.*/ |
|
161 EStdKeyEscape=0x04, /**< Scan code for Escape (Esc) key.*/ |
|
162 EStdKeySpace=0x05, /**< Scan code for Space key.*/ |
|
163 EStdKeyPrintScreen=0x06, /**< Scan code for Print Screen key.*/ |
|
164 EStdKeyPause=0x07, /**< Scan code for Pause key.*/ |
|
165 EStdKeyHome=0x08, /**< Scan code for Home key.*/ |
|
166 EStdKeyEnd=0x09, /**< Scan code for End key.*/ |
|
167 EStdKeyPageUp=0x0a, /**< Scan code for Page Up key.*/ |
|
168 EStdKeyPageDown=0x0b, /**< Scan code for Page Down key.*/ |
|
169 EStdKeyInsert=0x0c, /**< Scan code for Insert key.*/ |
|
170 EStdKeyDelete=0x0d, /**< Scan code for Delete (Del) key.*/ |
|
171 EStdKeyLeftArrow=0x0e, /**< Scan code for Left arrow key.*/ |
|
172 EStdKeyRightArrow=0x0f, /**< Scan code for Right arrow key.*/ |
|
173 EStdKeyUpArrow=0x10, /**< Scan code for Up arrow key.*/ |
|
174 EStdKeyDownArrow=0x11, /**< Scan code for Down arrow key.*/ |
|
175 EStdKeyLeftShift=0x12, /**< Scan code for left Shift key.*/ |
|
176 EStdKeyRightShift=0x13, /**< Scan code for right Shift key.*/ |
|
177 EStdKeyLeftAlt=0x14, /**< Scan code for left Alt key.*/ |
|
178 EStdKeyRightAlt=0x15, /**< Scan code for right Alt key.*/ |
|
179 EStdKeyLeftCtrl=0x16, /**< Scan code for left Control (Ctrl) key.*/ |
|
180 EStdKeyRightCtrl=0x17, /**< Scan code for right Control (Ctrl) key.*/ |
|
181 EStdKeyLeftFunc=0x18, /**< Scan code for left Fn key.*/ |
|
182 EStdKeyRightFunc=0x19, /**< Scan code for right Fn key.*/ |
|
183 EStdKeyCapsLock=0x1a, /**< Scan code for Caps lock key.*/ |
|
184 EStdKeyNumLock=0x1b, /**< Scan code for Num lock key.*/ |
|
185 EStdKeyScrollLock=0x1c, /**< Scan code for Scroll lock key.*/ |
|
186 EStdKeyF1=0x60, /**< Scan code for function key F1.*/ |
|
187 EStdKeyF2=0x61, /**< Scan code for function key F2.*/ |
|
188 EStdKeyF3=0x62, /**< Scan code for function key F3.*/ |
|
189 EStdKeyF4=0x63, /**< Scan code for function key F4.*/ |
|
190 EStdKeyF5=0x64, /**< Scan code for function key F5*/ |
|
191 EStdKeyF6=0x65, /**< Scan code for function key F6*/ |
|
192 EStdKeyF7=0x66, /**< Scan code for function key F7*/ |
|
193 EStdKeyF8=0x67, /**< Scan code for function key F8*/ |
|
194 EStdKeyF9=0x68, /**< Scan code for function key F9*/ |
|
195 EStdKeyF10=0x69, /**< Scan code for function key F10*/ |
|
196 EStdKeyF11=0x6a, /**< Scan code for function key F11*/ |
|
197 EStdKeyF12=0x6b, /**< Scan code for function key F12*/ |
|
198 EStdKeyF13=0x6c, /**< Scan code for function key F13*/ |
|
199 EStdKeyF14=0x6d, /**< Scan code for function key F14*/ |
|
200 EStdKeyF15=0x6e, /**< Scan code for function key F15*/ |
|
201 EStdKeyF16=0x6f, /**< Scan code for function key F16*/ |
|
202 EStdKeyF17=0x70, /**< Scan code for function key F17*/ |
|
203 EStdKeyF18=0x71, /**< Scan code for function key F18*/ |
|
204 EStdKeyF19=0x72, /**< Scan code for function key F19*/ |
|
205 EStdKeyF20=0x73, /**< Scan code for function key F20*/ |
|
206 EStdKeyF21=0x74, /**< Scan code for function key F21*/ |
|
207 EStdKeyF22=0x75, /**< Scan code for function key F22.*/ |
|
208 EStdKeyF23=0x76, /**< Scan code for function key F23.*/ |
|
209 EStdKeyF24=0x77, /**< Scan code for function key F24.*/ |
|
210 EStdKeyXXX=0x78, /**< Scan code for the key to the left of the 1 key on a standard keyboard.*/ |
|
211 EStdKeyComma=0x79, /**< Scan code for Comma (,) key.*/ |
|
212 EStdKeyFullStop=0x7a, /**< Scan code for Full stop (.) key.*/ |
|
213 EStdKeyForwardSlash=0x7b, /**< Scan code for Forward slash (/) key.*/ |
|
214 EStdKeyBackSlash=0x7c, /**< Scan code for Back slash (\) key.*/ |
|
215 EStdKeySemiColon=0x7d, /**< Scan code for Semi colon (;) key.*/ |
|
216 EStdKeySingleQuote=0x7e, /**< Scan code for Single quote (') key.*/ |
|
217 EStdKeyHash=0x7f, /**< Scan code for Hash key (#) key.*/ |
|
218 EStdKeySquareBracketLeft=0x80, /**< Scan code for left Square bracket ([) key.*/ |
|
219 EStdKeySquareBracketRight=0x81, /**< Scan code for right Square bracket (]) key.*/ |
|
220 EStdKeyMinus=0x82, /**< Scan code for Minus key (-) key.*/ |
|
221 EStdKeyEquals=0x83, /**< Scan code for Equals key (=) key.*/ |
|
222 EStdKeyNkpForwardSlash=0x84, /**< Scan code for forward slash (/) key on the Numeric keypad.*/ |
|
223 EStdKeyNkpAsterisk=0x85, /**< Scan code for Asterisk (*) key on the Numeric keypad.*/ |
|
224 EStdKeyNkpMinus=0x86, /**< Scan code for Minus (-) key on the Numeric keypad.*/ |
|
225 EStdKeyNkpPlus=0x87, /**< Scan code for Plus (+) key on the Numeric keypad.*/ |
|
226 EStdKeyNkpEnter=0x88, /**< Scan code for Enter key on the Numeric keypad.*/ |
|
227 EStdKeyNkp1=0x89, /**< Scan code for the 1 key on the Numeric keypad.*/ |
|
228 EStdKeyNkp2=0x8a, /**< Scan code for the 2 key on the Numeric keypad.*/ |
|
229 EStdKeyNkp3=0x8b, /**< Scan code for the 3 key on the Numeric keypad.*/ |
|
230 EStdKeyNkp4=0x8c, /**< Scan code for the 4 key on the Numeric keypad.*/ |
|
231 EStdKeyNkp5=0x8d, /**< Scan code for the 5 key on the Numeric keypad.*/ |
|
232 EStdKeyNkp6=0x8e, /**< Scan code for the 6 key on the Numeric keypad.*/ |
|
233 EStdKeyNkp7=0x8f, /**< Scan code for the 7 key on the Numeric keypad.*/ |
|
234 EStdKeyNkp8=0x90, /**< Scan code for the 8 key on the Numeric keypad.*/ |
|
235 EStdKeyNkp9=0x91, /**< Scan code for the 9 key on the Numeric keypad.*/ |
|
236 EStdKeyNkp0=0x92, /**< Scan code for the 0 key on the Numeric keypad.*/ |
|
237 EStdKeyNkpFullStop=0x93, /**< Scan code for Full stop (.) key on the Numeric keypad.*/ |
|
238 EStdKeyMenu=0x94, /**< Scan code for Menu key.*/ |
|
239 EStdKeyBacklightOn=0x95, /**< Scan code for Backlight on key.*/ |
|
240 EStdKeyBacklightOff=0x96, /**< Scan code for Backlight off key.*/ |
|
241 EStdKeyBacklightToggle=0x97, /**< Scan code for Backlight toggle key.*/ |
|
242 EStdKeyIncContrast=0x98, /**< Scan code for Increase contrast key.*/ |
|
243 EStdKeyDecContrast=0x99, /**< Scan code for Decrease contrast key.*/ |
|
244 EStdKeySliderDown=0x9a, /**< Scan code for Slider down key.*/ |
|
245 EStdKeySliderUp=0x9b, /**< Scan code for Slider up key.*/ |
|
246 EStdKeyDictaphonePlay=0x9c, /**< Scan code for Dictaphone play key.*/ |
|
247 EStdKeyDictaphoneStop=0x9d, /**< Scan code for Dictaphone stop key.*/ |
|
248 EStdKeyDictaphoneRecord=0x9e, /**< Scan code for Dictaphone record key.*/ |
|
249 EStdKeyHelp=0x9f, /**< Scan code for Help key */ |
|
250 EStdKeyOff=0xa0, /**< Scan code for Off key.*/ |
|
251 EStdKeyDial=0xa1, /**< Scan code for Dial key.*/ |
|
252 EStdKeyIncVolume=0xa2, /**< Scan code for Increase volume key.*/ |
|
253 EStdKeyDecVolume=0xa3, /**< Scan code for Decrease volume key.*/ |
|
254 EStdKeyDevice0=0xa4, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
255 EStdKeyDevice1=0xa5, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
256 EStdKeyDevice2=0xa6, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
257 EStdKeyDevice3=0xa7, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
258 EStdKeyDevice4=0xa8, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
259 EStdKeyDevice5=0xa9, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
260 EStdKeyDevice6=0xaa, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
261 EStdKeyDevice7=0xab, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
262 EStdKeyDevice8=0xac, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
263 EStdKeyDevice9=0xad, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
264 EStdKeyDeviceA=0xae, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
265 EStdKeyDeviceB=0xaf, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
266 EStdKeyDeviceC=0xb0, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
267 EStdKeyDeviceD=0xb1, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
268 EStdKeyDeviceE=0xb2, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
269 EStdKeyDeviceF=0xb3, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
270 EStdKeyApplication0=0xb4, /**< Scan code for device-specific application launcher key.*/ |
|
271 EStdKeyApplication1=0xb5, /**< Scan code for device-specific application launcher key.*/ |
|
272 EStdKeyApplication2=0xb6, /**< Scan code for device-specific application launcher key.*/ |
|
273 EStdKeyApplication3=0xb7, /**< Scan code for device-specific application launcher key.*/ |
|
274 EStdKeyApplication4=0xb8, /**< Scan code for device-specific application launcher key.*/ |
|
275 EStdKeyApplication5=0xb9, /**< Scan code for device-specific application launcher key.*/ |
|
276 EStdKeyApplication6=0xba, /**< Scan code for device-specific application launcher key.*/ |
|
277 EStdKeyApplication7=0xbb, /**< Scan code for device-specific application launcher key.*/ |
|
278 EStdKeyApplication8=0xbc, /**< Scan code for device-specific application launcher key.*/ |
|
279 EStdKeyApplication9=0xbd, /**< Scan code for device-specific application launcher key.*/ |
|
280 EStdKeyApplicationA=0xbe, /**< Scan code for device-specific application launcher key.*/ |
|
281 EStdKeyApplicationB=0xbf, /**< Scan code for device-specific application launcher key.*/ |
|
282 EStdKeyApplicationC=0xc0, /**< Scan code for device-specific application launcher key.*/ |
|
283 EStdKeyApplicationD=0xc1, /**< Scan code for device-specific application launcher key.*/ |
|
284 EStdKeyApplicationE=0xc2, /**< Scan code for device-specific application launcher key.*/ |
|
285 EStdKeyApplicationF=0xc3, /**< Scan code for device-specific application launcher key.*/ |
|
286 EStdKeyYes=0xc4, /**< Scan code for Yes key.*/ |
|
287 EStdKeyNo=0xc5, /**< Scan code for No key.*/ |
|
288 EStdKeyIncBrightness=0xc6, /**< Scan code for Increase brightness key.*/ |
|
289 EStdKeyDecBrightness=0xc7, /**< Scan code for Decrease brightness key.*/ |
|
290 EStdKeyKeyboardExtend=0xc8, /**< Scan code for flip actuated when keypad extends to full keyboard.*/ |
|
291 EStdKeyDevice10=0xc9, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
292 EStdKeyDevice11=0xca, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
293 EStdKeyDevice12=0xcb, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
294 EStdKeyDevice13=0xcc, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
295 EStdKeyDevice14=0xcd, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
296 EStdKeyDevice15=0xce, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
297 EStdKeyDevice16=0xcf, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
298 EStdKeyDevice17=0xd0, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
299 EStdKeyDevice18=0xd1, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
300 EStdKeyDevice19=0xd2, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
301 EStdKeyDevice1A=0xd3, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
302 EStdKeyDevice1B=0xd4, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
303 EStdKeyDevice1C=0xd5, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
304 EStdKeyDevice1D=0xd6, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
305 EStdKeyDevice1E=0xd7, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
306 EStdKeyDevice1F=0xd8, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
307 EStdKeyApplication10=0xd9, /**< Scan code for device-specific application launcher key.*/ |
|
308 EStdKeyApplication11=0xda, /**< Scan code for device-specific application launcher key.*/ |
|
309 EStdKeyApplication12=0xdb, /**< Scan code for device-specific application launcher key.*/ |
|
310 EStdKeyApplication13=0xdc, /**< Scan code for device-specific application launcher key.*/ |
|
311 EStdKeyApplication14=0xdd, /**< Scan code for device-specific application launcher key.*/ |
|
312 EStdKeyApplication15=0xde, /**< Scan code for device-specific application launcher key.*/ |
|
313 EStdKeyApplication16=0xdf, /**< Scan code for device-specific application launcher key.*/ |
|
314 EStdKeyApplication17=0xe0, /**< Scan code for device-specific application launcher key.*/ |
|
315 EStdKeyApplication18=0xe1, /**< Scan code for device-specific application launcher key.*/ |
|
316 EStdKeyApplication19=0xe2, /**< Scan code for device-specific application launcher key.*/ |
|
317 EStdKeyApplication1A=0xe3, /**< Scan code for device-specific application launcher key.*/ |
|
318 EStdKeyApplication1B=0xe4, /**< Scan code for device-specific application launcher key.*/ |
|
319 EStdKeyApplication1C=0xe5, /**< Scan code for device-specific application launcher key.*/ |
|
320 EStdKeyApplication1D=0xe6, /**< Scan code for device-specific application launcher key.*/ |
|
321 EStdKeyApplication1E=0xe7, /**< Scan code for device-specific application launcher key.*/ |
|
322 EStdKeyApplication1F=0xe8, /**< Scan code for device-specific application launcher key.*/ |
|
323 EStdKeyDevice20=0xe9, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
324 EStdKeyDevice21=0xea, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
325 EStdKeyDevice22=0xeb, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
326 EStdKeyDevice23=0xec, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
327 EStdKeyDevice24=0xed, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
328 EStdKeyDevice25=0xee, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
329 EStdKeyDevice26=0xef, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
330 EStdKeyDevice27=0xf0, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/ |
|
331 EStdKeyApplication20=0xf1, /**< Scan code for device-specific application launcher key.*/ |
|
332 EStdKeyApplication21=0xf2, /**< Scan code for device-specific application launcher key.*/ |
|
333 EStdKeyApplication22=0xf3, /**< Scan code for device-specific application launcher key.*/ |
|
334 EStdKeyApplication23=0xf4, /**< Scan code for device-specific application launcher key.*/ |
|
335 EStdKeyApplication24=0xf5, /**< Scan code for device-specific application launcher key.*/ |
|
336 EStdKeyApplication25=0xf6, /**< Scan code for device-specific application launcher key.*/ |
|
337 EStdKeyApplication26=0xf7, /**< Scan code for device-specific application launcher key.*/ |
|
338 EStdKeyApplication27=0xf8 /**< Scan code for device-specific application launcher key.*/ |
|
339 }; |
|
340 |
|
341 |
|
342 |
|
343 |
|
344 /** |
|
345 @publishedAll |
|
346 @released |
|
347 |
|
348 Codes generated by non-ASCII key presses. |
|
349 |
|
350 A key event's character code is held in TKeyEvent::iCode. |
|
351 |
|
352 @see TKeyEvent::iCode |
|
353 */ |
|
354 enum TKeyCode |
|
355 { |
|
356 EKeyNull=0x0000, /**< Code for the Null key. */ |
|
357 EKeyBell=0x0007, /**< Code for the Bell key*/ |
|
358 EKeyBackspace=0x0008, /**< Code for the Backspace key */ |
|
359 EKeyTab=0x0009, /**< Code for the Tab key*/ |
|
360 EKeyLineFeed=0x000a, /**< Code for the Linefeed key*/ |
|
361 EKeyVerticalTab=0x000b, /**< Code for the Vertical tab key*/ |
|
362 EKeyFormFeed=0x000c, /**< Code for the Form feed key*/ |
|
363 EKeyEnter=0x000d, /**< Code for the Enter key */ |
|
364 EKeyEscape=0x001b, /**< Code for the Escape key */ |
|
365 EKeySpace=0x0020, /**< Code for the Space key*/ |
|
366 EKeyDelete=0x007f, /**< Code for the Delete (Del) key*/ |
|
367 EKeyPrintScreen=ENonCharacterKeyBase,/**< Code for the Print screen key */ |
|
368 EKeyPause, /**< Code for the Pause key*/ |
|
369 EKeyHome, /**< Code for the Home key*/ |
|
370 EKeyEnd, /**< Code for the End key*/ |
|
371 EKeyPageUp, /**< Code for the Page up key*/ |
|
372 EKeyPageDown, /**< Code for the Page down key*/ |
|
373 EKeyInsert, /**< Code for the Insert key*/ |
|
374 EKeyLeftArrow, /**< Code for the Left arrow key*/ |
|
375 EKeyRightArrow, /**< Code for the Right arrow key*/ |
|
376 EKeyUpArrow, /**< Code for the Up arrow key*/ |
|
377 EKeyDownArrow, /**< Code for the Down arrow key*/ |
|
378 EKeyLeftShift, /**< Code for the left Shift key*/ |
|
379 EKeyRightShift, /**< Code for the right Shift key*/ |
|
380 EKeyLeftAlt, /**< Code for the left Alt key*/ |
|
381 EKeyRightAlt, /**< Code for the right Alt key*/ |
|
382 EKeyLeftCtrl, /**< Code for the left Control (Ctrl) key*/ |
|
383 EKeyRightCtrl, /**< Code for the right Control (Ctrl) key.*/ |
|
384 EKeyLeftFunc, /**< Code for the left Fn key.*/ |
|
385 EKeyRightFunc, /**< Code for the right Fn key.*/ |
|
386 EKeyCapsLock, /**< Code for the Caps lock key.*/ |
|
387 EKeyNumLock, /**< Code for the Num lock key.*/ |
|
388 EKeyScrollLock, /**< Code for the Scroll lock key.*/ |
|
389 EKeyF1, /**< Code for the F1 function key.*/ |
|
390 EKeyF2, /**< Code for the F2 function key.*/ |
|
391 EKeyF3, /**< Code for the F3 function key.*/ |
|
392 EKeyF4, /**< Code for the F4 function key.*/ |
|
393 EKeyF5, /**< Code for the F5 function key.*/ |
|
394 EKeyF6, /**< Code for the F6 function key.*/ |
|
395 EKeyF7, /**< Code for the F7 function key.*/ |
|
396 EKeyF8, /**< Code for the F8 function key.*/ |
|
397 EKeyF9, /**< Code for the F9 function key.*/ |
|
398 EKeyF10, /**< Code for the F10 function key.*/ |
|
399 EKeyF11, /**< Code for the F11 function key.*/ |
|
400 EKeyF12, /**< Code for the F12 function key.*/ |
|
401 EKeyF13, /**< Code for the F13 function key.*/ |
|
402 EKeyF14, /**< Code for the F14 function key.*/ |
|
403 EKeyF15, /**< Code for the F15 function key.*/ |
|
404 EKeyF16, /**< Code for the F16 function key.*/ |
|
405 EKeyF17, /**< Code for the F17 function key.*/ |
|
406 EKeyF18, /**< Code for the F18 function key.*/ |
|
407 EKeyF19, /**< Code for the F19 function key.*/ |
|
408 EKeyF20, /**< Code for the F20 function key.*/ |
|
409 EKeyF21, /**< Code for the F21 function key.*/ |
|
410 EKeyF22, /**< Code for the F22 function key.*/ |
|
411 EKeyF23, /**< Code for the F23 function key.*/ |
|
412 EKeyF24, /**< Code for the F24 function key.*/ |
|
413 EKeyOff, /**< Code for the Off key.*/ |
|
414 EKeyIncContrast, /**< Code for the Increase contrast key.*/ |
|
415 EKeyDecContrast, /**< Code for the Decrease contrast key.*/ |
|
416 EKeyBacklightOn, /**< Code for the Backlight on key.*/ |
|
417 EKeyBacklightOff, /**< Code for the Backlight off key.*/ |
|
418 EKeyBacklightToggle, /**< Code for the Backlight toggle key.*/ |
|
419 EKeySliderDown, /**< Code for the Slider down key.*/ |
|
420 EKeySliderUp, /**< Code for the Slider up key.*/ |
|
421 EKeyMenu, /**< Code for the Menu key.*/ |
|
422 EKeyDictaphonePlay, /**< Code for the Dictaphone play key.*/ |
|
423 EKeyDictaphoneStop, /**< Code for the Dictaphone stop key.*/ |
|
424 EKeyDictaphoneRecord, /**< Code for the Dictaphone record key.*/ |
|
425 EKeyHelp, /**< Code for the Help key.*/ |
|
426 EKeyDial, /**< Code for the Dial key.*/ |
|
427 EKeyScreenDimension0, /**< Code for the first Screen dimension change key.*/ |
|
428 EKeyScreenDimension1, /**< Code for the second Screen dimension change key.*/ |
|
429 EKeyScreenDimension2, /**< Code for the third Screen dimension change key.*/ |
|
430 EKeyScreenDimension3, /**< Code for the fourth Screen dimension change key.*/ |
|
431 EKeyIncVolume, /**< Code for the increase colume key.*/ |
|
432 EKeyDecVolume, /**< Code for the decrease volume key.*/ |
|
433 EKeyDevice0, /**< Code for a device specific key.*/ |
|
434 EKeyDevice1, /**< Code for a device specific key.*/ |
|
435 EKeyDevice2, /**< Code for a device specific key. */ |
|
436 EKeyDevice3, /**< Code for a device specific key.*/ |
|
437 EKeyDevice4, /**< Code for a device specific key.*/ |
|
438 EKeyDevice5, /**< Code for a device specific key.*/ |
|
439 EKeyDevice6, /**< Code for a device specific key.*/ |
|
440 EKeyDevice7, /**< Code for a device specific key.*/ |
|
441 EKeyDevice8, /**< Code for a device specific key.*/ |
|
442 EKeyDevice9, /**< Code for a device specific key.*/ |
|
443 EKeyDeviceA, /**< Code for a device specific key.*/ |
|
444 EKeyDeviceB, /**< Code for a device specific key.*/ |
|
445 EKeyDeviceC, /**< Code for a device specific key.*/ |
|
446 EKeyDeviceD, /**< Code for a device specific key.*/ |
|
447 EKeyDeviceE, /**< Code for a device specific key.*/ |
|
448 EKeyDeviceF, /**< Code for a device specific key.*/ |
|
449 EKeyApplication0, /**< Code for an Application launcher key.*/ |
|
450 EKeyApplication1, /**< Code for an Application launcher key.*/ |
|
451 EKeyApplication2, /**< Code for an Application launcher key.*/ |
|
452 EKeyApplication3, /**< Code for an Application launcher key.*/ |
|
453 EKeyApplication4, /**< Code for an Application launcher key.*/ |
|
454 EKeyApplication5, /**< Code for an Application launcher key.*/ |
|
455 EKeyApplication6, /**< Code for an Application launcher key.*/ |
|
456 EKeyApplication7, /**< Code for an Application launcher key.*/ |
|
457 EKeyApplication8, /**< Code for an Application launcher key.*/ |
|
458 EKeyApplication9, /**< Code for an Application launcher key.*/ |
|
459 EKeyApplicationA, /**< Code for an Application launcher key.*/ |
|
460 EKeyApplicationB, /**< Code for an Application launcher key.*/ |
|
461 EKeyApplicationC, /**< Code for an Application launcher key.*/ |
|
462 EKeyApplicationD, /**< Code for an Application launcher key.*/ |
|
463 EKeyApplicationE, /**< Code for an Application launcher key.*/ |
|
464 EKeyApplicationF, /**< Code for an Application launcher key.*/ |
|
465 EKeyYes, /**< Code for the Yes key.*/ |
|
466 EKeyNo, /**< Code for the No key.*/ |
|
467 EKeyIncBrightness, /**< Code for the increase brightness key.*/ |
|
468 EKeyDecBrightness, /**< Code for the decrease brightness key. */ |
|
469 EKeyKeyboardExtend, /**< Code for flip actuated when keypad extends to full keyboard.*/ |
|
470 EKeyDevice10, /**< Code for a device specific key.*/ |
|
471 EKeyDevice11, /**< Code for a device specific key.*/ |
|
472 EKeyDevice12, /**< Code for a device specific key. */ |
|
473 EKeyDevice13, /**< Code for a device specific key.*/ |
|
474 EKeyDevice14, /**< Code for a device specific key.*/ |
|
475 EKeyDevice15, /**< Code for a device specific key.*/ |
|
476 EKeyDevice16, /**< Code for a device specific key.*/ |
|
477 EKeyDevice17, /**< Code for a device specific key.*/ |
|
478 EKeyDevice18, /**< Code for a device specific key.*/ |
|
479 EKeyDevice19, /**< Code for a device specific key.*/ |
|
480 EKeyDevice1A, /**< Code for a device specific key.*/ |
|
481 EKeyDevice1B, /**< Code for a device specific key.*/ |
|
482 EKeyDevice1C, /**< Code for a device specific key.*/ |
|
483 EKeyDevice1D, /**< Code for a device specific key.*/ |
|
484 EKeyDevice1E, /**< Code for a device specific key.*/ |
|
485 EKeyDevice1F, /**< Code for a device specific key.*/ |
|
486 EKeyApplication10, /**< Code for an Application launcher key.*/ |
|
487 EKeyApplication11, /**< Code for an Application launcher key.*/ |
|
488 EKeyApplication12, /**< Code for an Application launcher key.*/ |
|
489 EKeyApplication13, /**< Code for an Application launcher key.*/ |
|
490 EKeyApplication14, /**< Code for an Application launcher key.*/ |
|
491 EKeyApplication15, /**< Code for an Application launcher key.*/ |
|
492 EKeyApplication16, /**< Code for an Application launcher key.*/ |
|
493 EKeyApplication17, /**< Code for an Application launcher key.*/ |
|
494 EKeyApplication18, /**< Code for an Application launcher key.*/ |
|
495 EKeyApplication19, /**< Code for an Application launcher key.*/ |
|
496 EKeyApplication1A, /**< Code for an Application launcher key.*/ |
|
497 EKeyApplication1B, /**< Code for an Application launcher key.*/ |
|
498 EKeyApplication1C, /**< Code for an Application launcher key.*/ |
|
499 EKeyApplication1D, /**< Code for an Application launcher key.*/ |
|
500 EKeyApplication1E, /**< Code for an Application launcher key.*/ |
|
501 EKeyApplication1F, /**< Code for an Application launcher key.*/ |
|
502 EKeyDevice20, /**< Code for a device specific key.*/ |
|
503 EKeyDevice21, /**< Code for a device specific key.*/ |
|
504 EKeyDevice22, /**< Code for a device specific key.*/ |
|
505 EKeyDevice23, /**< Code for a device specific key.*/ |
|
506 EKeyDevice24, /**< Code for a device specific key.*/ |
|
507 EKeyDevice25, /**< Code for a device specific key.*/ |
|
508 EKeyDevice26, /**< Code for a device specific key.*/ |
|
509 EKeyDevice27, /**< Code for a device specific key.*/ |
|
510 EKeyApplication20, /**< Code for an Application launcher key.*/ |
|
511 EKeyApplication21, /**< Code for an Application launcher key.*/ |
|
512 EKeyApplication22, /**< Code for an Application launcher key.*/ |
|
513 EKeyApplication23, /**< Code for an Application launcher key.*/ |
|
514 EKeyApplication24, /**< Code for an Application launcher key.*/ |
|
515 EKeyApplication25, /**< Code for an Application launcher key.*/ |
|
516 EKeyApplication26, /**< Code for an Application launcher key.*/ |
|
517 EKeyApplication27 /**< Code for an Application launcher key.*/ |
|
518 }; |
|
519 |
|
520 #endif |
|
521 |