1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kernel/eka/include/e32keys.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,521 @@
1.4 +// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// e32\include\e32keys.h
1.18 +//
1.19 +//
1.20 +
1.21 +#ifndef __E32KEYS_H__
1.22 +#define __E32KEYS_H__
1.23 +
1.24 +// Using #define instead of const TInt so this file is parsable by rcomp
1.25 +
1.26 +/**
1.27 +@publishedPartner
1.28 +@released
1.29 +
1.30 +Base code of range that doesn't correspond to a character
1.31 +*/
1.32 +#define ENonCharacterKeyBase 0xf800
1.33 +
1.34 +/**
1.35 +@publishedPartner
1.36 +@released
1.37 +
1.38 +Size of range that doesn't correspond to a character
1.39 +*/
1.40 +#define ENonCharacterKeyCount 0x100
1.41 +
1.42 +/**
1.43 +@publishedPartner
1.44 +@released
1.45 +
1.46 +Base code of range that is reserved for application framework use and guaranteed
1.47 +not to be produced by any keyboard.
1.48 +*/
1.49 +#define ESpecialKeyBase 0xf700
1.50 +
1.51 +/**
1.52 +@publishedPartner
1.53 +@released
1.54 +
1.55 +Size of range that is reserved for application framework use and guaranteed
1.56 +not to be produced by any keyboard.
1.57 +*/
1.58 +#define ESpecialKeyCount 0x100
1.59 +
1.60 +
1.61 +
1.62 +
1.63 +/**
1.64 +@publishedAll
1.65 +@released
1.66 +
1.67 +Modifier flags for a key or pointer event.
1.68 +
1.69 +The modifier flags for a key event are held in TKeyEvent::iModifiers.
1.70 +
1.71 +The modifier flags for a pointer event are held in TPointerEvent::iModifiers.
1.72 +
1.73 +@see TKeyEvent::iModifiers
1.74 +@see TPointerEvent::iModifiers
1.75 +*/
1.76 +enum TEventModifier
1.77 + {
1.78 + EModifierAutorepeatable=0x00000001, /**< Key event can auto-repeat.*/
1.79 + EModifierKeypad=0x00000002, /**< The key that generated the event was on the numeric keypad, on the emulator.*/
1.80 + EModifierLeftAlt=0x00000004, /**< Left Alt key.*/
1.81 + EModifierRightAlt=0x00000008, /**< Right Alt key.*/
1.82 + EModifierAlt=0x00000010, /**< Single Alt key.*/
1.83 + EModifierLeftCtrl=0x00000020, /**< Left Control (Ctrl) key.*/
1.84 + EModifierRightCtrl=0x00000040, /**< Right Control (Ctrl) key.*/
1.85 + EModifierCtrl=0x00000080, /**< Single Control (Ctrl) key.*/
1.86 + EModifierLeftShift=0x00000100, /**< Left Shift key.*/
1.87 + EModifierRightShift=0x00000200, /**< Right Shift key.*/
1.88 + EModifierShift=0x00000400, /**< Single Shift key.*/
1.89 + EModifierLeftFunc=0x00000800, /**< Left Fn key.*/
1.90 + EModifierRightFunc=0x00001000, /**< Right Fn key.*/
1.91 + EModifierFunc=0x00002000, /**< Single Fn key.*/
1.92 + EModifierCapsLock=0x00004000, /**< Caps lock key.*/
1.93 + EModifierNumLock=0x00008000, /**< Num lock key.*/
1.94 + EModifierScrollLock=0x00010000, /**< Scroll lock key.*/
1.95 + EModifierKeyUp=0x00020000, /**< Key up event.*/
1.96 + EModifierSpecial=0x00040000, /**< The keycode is a non-standard keyboard character that has been generated in a special keyboard mode, for example accented vowels.*/
1.97 + EModifierDoubleClick=0x00080000, /**< Double click.*/
1.98 + 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.*/
1.99 + EModifierKeyboardExtend=0x00200000, /**< The "Keyboard extend" generated modifier. */
1.100 + EModifierCancelRotation=0x00000000, /**< No Keyboard rotation is in effect. */
1.101 + EModifierRotateBy90=0x00400000, /**< Keyboard rotation through 90 degrees clockwise is in effect. */
1.102 + EModifierRotateBy180=0x00800000, /**< Keyboard rotation through 180 degrees clockwise is in effect. */
1.103 + EModifierRotateBy270=0x01000000, /**< Keyboard rotation through 270 degrees clockwise is in effect. */
1.104 + EModifierPointer3DButton1=0x02000000,/**< 3D pointer device specific modifier (button 1). */
1.105 + EModifierPointer3DButton2=0x04000000,/**< 3D pointer device specific modifier (button 2). */
1.106 + EModifierPointer3DButton3=0x08000000,/**< 3D pointer device specific modifier (button 3). */
1.107 + EModifierAdvancedPointerEvent=0x10000000, /**< TPointerEvent is a TAdvancedPointerEvent.*/
1.108 + EAllModifiers=0x1fffffff /**< A combination of all event modifiers.*/
1.109 + };
1.110 +
1.111 +
1.112 +
1.113 +
1.114 +/**
1.115 +@publishedAll
1.116 +@released
1.117 +
1.118 +Specifies the state of an event modifier, for instance Caps Lock or Num Lock.
1.119 +
1.120 +Event modifiers are enumerated in TEventModifier.
1.121 +The modifier state can be set using RWsSession::SetModifierState().
1.122 +
1.123 +@see TEventModifier
1.124 +@see RWsSession::SetModifierState()
1.125 +*/
1.126 +enum TModifierState
1.127 + {
1.128 + ETurnOnModifier=0x40, /**< Switch on modifier.*/
1.129 + ETurnOffModifier, /**< Switch off modifier.*/
1.130 + EToggleModifier /**< Toggle the modifier on or off.*/
1.131 + };
1.132 +
1.133 +
1.134 +
1.135 +
1.136 +/**
1.137 +@publishedAll
1.138 +@released
1.139 +
1.140 +Scan codes for the physical keys found on keyboards.
1.141 +
1.142 +When processing a TKeyEvent, the TStdScanCode in TKeyEvent::iScanCode should
1.143 +usually be ignored in favour of the TKeyCode in TKeyEvent::iCode.
1.144 +
1.145 +Using iScanCode would bypass the keyboard mapping and any FEP that happens
1.146 +to be installed. The exceptions to this general rule are games where
1.147 +the positions of the keys are more important than their translations,
1.148 +and FEPs that are implementing keyboard maps themselves. In these cases,
1.149 +if the iCode is used rather than iScanCode to determine the key pressed,
1.150 +there will be two unfortunate consequences.
1.151 +First, the low-level keyboard mapping might re-arrange the mapping that
1.152 +you are trying to impose.
1.153 +Second, you will subvert the CTRL+number method of entering Unicode literals.
1.154 +
1.155 +@see TKeyEvent
1.156 +@see TStdScanCode
1.157 +*/
1.158 +enum TStdScanCode
1.159 + {
1.160 + EStdKeyNull=0x00, /**< No key present. */
1.161 + EStdKeyBackspace=0x01, /**< Scan code for Backspace key.*/
1.162 + EStdKeyTab=0x02, /**< Scan code for Tab key. */
1.163 + EStdKeyEnter=0x03, /**< Scan code for Enter key.*/
1.164 + EStdKeyEscape=0x04, /**< Scan code for Escape (Esc) key.*/
1.165 + EStdKeySpace=0x05, /**< Scan code for Space key.*/
1.166 + EStdKeyPrintScreen=0x06, /**< Scan code for Print Screen key.*/
1.167 + EStdKeyPause=0x07, /**< Scan code for Pause key.*/
1.168 + EStdKeyHome=0x08, /**< Scan code for Home key.*/
1.169 + EStdKeyEnd=0x09, /**< Scan code for End key.*/
1.170 + EStdKeyPageUp=0x0a, /**< Scan code for Page Up key.*/
1.171 + EStdKeyPageDown=0x0b, /**< Scan code for Page Down key.*/
1.172 + EStdKeyInsert=0x0c, /**< Scan code for Insert key.*/
1.173 + EStdKeyDelete=0x0d, /**< Scan code for Delete (Del) key.*/
1.174 + EStdKeyLeftArrow=0x0e, /**< Scan code for Left arrow key.*/
1.175 + EStdKeyRightArrow=0x0f, /**< Scan code for Right arrow key.*/
1.176 + EStdKeyUpArrow=0x10, /**< Scan code for Up arrow key.*/
1.177 + EStdKeyDownArrow=0x11, /**< Scan code for Down arrow key.*/
1.178 + EStdKeyLeftShift=0x12, /**< Scan code for left Shift key.*/
1.179 + EStdKeyRightShift=0x13, /**< Scan code for right Shift key.*/
1.180 + EStdKeyLeftAlt=0x14, /**< Scan code for left Alt key.*/
1.181 + EStdKeyRightAlt=0x15, /**< Scan code for right Alt key.*/
1.182 + EStdKeyLeftCtrl=0x16, /**< Scan code for left Control (Ctrl) key.*/
1.183 + EStdKeyRightCtrl=0x17, /**< Scan code for right Control (Ctrl) key.*/
1.184 + EStdKeyLeftFunc=0x18, /**< Scan code for left Fn key.*/
1.185 + EStdKeyRightFunc=0x19, /**< Scan code for right Fn key.*/
1.186 + EStdKeyCapsLock=0x1a, /**< Scan code for Caps lock key.*/
1.187 + EStdKeyNumLock=0x1b, /**< Scan code for Num lock key.*/
1.188 + EStdKeyScrollLock=0x1c, /**< Scan code for Scroll lock key.*/
1.189 + EStdKeyF1=0x60, /**< Scan code for function key F1.*/
1.190 + EStdKeyF2=0x61, /**< Scan code for function key F2.*/
1.191 + EStdKeyF3=0x62, /**< Scan code for function key F3.*/
1.192 + EStdKeyF4=0x63, /**< Scan code for function key F4.*/
1.193 + EStdKeyF5=0x64, /**< Scan code for function key F5*/
1.194 + EStdKeyF6=0x65, /**< Scan code for function key F6*/
1.195 + EStdKeyF7=0x66, /**< Scan code for function key F7*/
1.196 + EStdKeyF8=0x67, /**< Scan code for function key F8*/
1.197 + EStdKeyF9=0x68, /**< Scan code for function key F9*/
1.198 + EStdKeyF10=0x69, /**< Scan code for function key F10*/
1.199 + EStdKeyF11=0x6a, /**< Scan code for function key F11*/
1.200 + EStdKeyF12=0x6b, /**< Scan code for function key F12*/
1.201 + EStdKeyF13=0x6c, /**< Scan code for function key F13*/
1.202 + EStdKeyF14=0x6d, /**< Scan code for function key F14*/
1.203 + EStdKeyF15=0x6e, /**< Scan code for function key F15*/
1.204 + EStdKeyF16=0x6f, /**< Scan code for function key F16*/
1.205 + EStdKeyF17=0x70, /**< Scan code for function key F17*/
1.206 + EStdKeyF18=0x71, /**< Scan code for function key F18*/
1.207 + EStdKeyF19=0x72, /**< Scan code for function key F19*/
1.208 + EStdKeyF20=0x73, /**< Scan code for function key F20*/
1.209 + EStdKeyF21=0x74, /**< Scan code for function key F21*/
1.210 + EStdKeyF22=0x75, /**< Scan code for function key F22.*/
1.211 + EStdKeyF23=0x76, /**< Scan code for function key F23.*/
1.212 + EStdKeyF24=0x77, /**< Scan code for function key F24.*/
1.213 + EStdKeyXXX=0x78, /**< Scan code for the key to the left of the 1 key on a standard keyboard.*/
1.214 + EStdKeyComma=0x79, /**< Scan code for Comma (,) key.*/
1.215 + EStdKeyFullStop=0x7a, /**< Scan code for Full stop (.) key.*/
1.216 + EStdKeyForwardSlash=0x7b, /**< Scan code for Forward slash (/) key.*/
1.217 + EStdKeyBackSlash=0x7c, /**< Scan code for Back slash (\) key.*/
1.218 + EStdKeySemiColon=0x7d, /**< Scan code for Semi colon (;) key.*/
1.219 + EStdKeySingleQuote=0x7e, /**< Scan code for Single quote (') key.*/
1.220 + EStdKeyHash=0x7f, /**< Scan code for Hash key (#) key.*/
1.221 + EStdKeySquareBracketLeft=0x80, /**< Scan code for left Square bracket ([) key.*/
1.222 + EStdKeySquareBracketRight=0x81, /**< Scan code for right Square bracket (]) key.*/
1.223 + EStdKeyMinus=0x82, /**< Scan code for Minus key (-) key.*/
1.224 + EStdKeyEquals=0x83, /**< Scan code for Equals key (=) key.*/
1.225 + EStdKeyNkpForwardSlash=0x84, /**< Scan code for forward slash (/) key on the Numeric keypad.*/
1.226 + EStdKeyNkpAsterisk=0x85, /**< Scan code for Asterisk (*) key on the Numeric keypad.*/
1.227 + EStdKeyNkpMinus=0x86, /**< Scan code for Minus (-) key on the Numeric keypad.*/
1.228 + EStdKeyNkpPlus=0x87, /**< Scan code for Plus (+) key on the Numeric keypad.*/
1.229 + EStdKeyNkpEnter=0x88, /**< Scan code for Enter key on the Numeric keypad.*/
1.230 + EStdKeyNkp1=0x89, /**< Scan code for the 1 key on the Numeric keypad.*/
1.231 + EStdKeyNkp2=0x8a, /**< Scan code for the 2 key on the Numeric keypad.*/
1.232 + EStdKeyNkp3=0x8b, /**< Scan code for the 3 key on the Numeric keypad.*/
1.233 + EStdKeyNkp4=0x8c, /**< Scan code for the 4 key on the Numeric keypad.*/
1.234 + EStdKeyNkp5=0x8d, /**< Scan code for the 5 key on the Numeric keypad.*/
1.235 + EStdKeyNkp6=0x8e, /**< Scan code for the 6 key on the Numeric keypad.*/
1.236 + EStdKeyNkp7=0x8f, /**< Scan code for the 7 key on the Numeric keypad.*/
1.237 + EStdKeyNkp8=0x90, /**< Scan code for the 8 key on the Numeric keypad.*/
1.238 + EStdKeyNkp9=0x91, /**< Scan code for the 9 key on the Numeric keypad.*/
1.239 + EStdKeyNkp0=0x92, /**< Scan code for the 0 key on the Numeric keypad.*/
1.240 + EStdKeyNkpFullStop=0x93, /**< Scan code for Full stop (.) key on the Numeric keypad.*/
1.241 + EStdKeyMenu=0x94, /**< Scan code for Menu key.*/
1.242 + EStdKeyBacklightOn=0x95, /**< Scan code for Backlight on key.*/
1.243 + EStdKeyBacklightOff=0x96, /**< Scan code for Backlight off key.*/
1.244 + EStdKeyBacklightToggle=0x97, /**< Scan code for Backlight toggle key.*/
1.245 + EStdKeyIncContrast=0x98, /**< Scan code for Increase contrast key.*/
1.246 + EStdKeyDecContrast=0x99, /**< Scan code for Decrease contrast key.*/
1.247 + EStdKeySliderDown=0x9a, /**< Scan code for Slider down key.*/
1.248 + EStdKeySliderUp=0x9b, /**< Scan code for Slider up key.*/
1.249 + EStdKeyDictaphonePlay=0x9c, /**< Scan code for Dictaphone play key.*/
1.250 + EStdKeyDictaphoneStop=0x9d, /**< Scan code for Dictaphone stop key.*/
1.251 + EStdKeyDictaphoneRecord=0x9e, /**< Scan code for Dictaphone record key.*/
1.252 + EStdKeyHelp=0x9f, /**< Scan code for Help key */
1.253 + EStdKeyOff=0xa0, /**< Scan code for Off key.*/
1.254 + EStdKeyDial=0xa1, /**< Scan code for Dial key.*/
1.255 + EStdKeyIncVolume=0xa2, /**< Scan code for Increase volume key.*/
1.256 + EStdKeyDecVolume=0xa3, /**< Scan code for Decrease volume key.*/
1.257 + EStdKeyDevice0=0xa4, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.258 + EStdKeyDevice1=0xa5, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.259 + EStdKeyDevice2=0xa6, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.260 + EStdKeyDevice3=0xa7, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.261 + EStdKeyDevice4=0xa8, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.262 + EStdKeyDevice5=0xa9, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.263 + EStdKeyDevice6=0xaa, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.264 + EStdKeyDevice7=0xab, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.265 + EStdKeyDevice8=0xac, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.266 + EStdKeyDevice9=0xad, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.267 + EStdKeyDeviceA=0xae, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.268 + EStdKeyDeviceB=0xaf, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.269 + EStdKeyDeviceC=0xb0, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.270 + EStdKeyDeviceD=0xb1, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.271 + EStdKeyDeviceE=0xb2, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.272 + EStdKeyDeviceF=0xb3, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.273 + EStdKeyApplication0=0xb4, /**< Scan code for device-specific application launcher key.*/
1.274 + EStdKeyApplication1=0xb5, /**< Scan code for device-specific application launcher key.*/
1.275 + EStdKeyApplication2=0xb6, /**< Scan code for device-specific application launcher key.*/
1.276 + EStdKeyApplication3=0xb7, /**< Scan code for device-specific application launcher key.*/
1.277 + EStdKeyApplication4=0xb8, /**< Scan code for device-specific application launcher key.*/
1.278 + EStdKeyApplication5=0xb9, /**< Scan code for device-specific application launcher key.*/
1.279 + EStdKeyApplication6=0xba, /**< Scan code for device-specific application launcher key.*/
1.280 + EStdKeyApplication7=0xbb, /**< Scan code for device-specific application launcher key.*/
1.281 + EStdKeyApplication8=0xbc, /**< Scan code for device-specific application launcher key.*/
1.282 + EStdKeyApplication9=0xbd, /**< Scan code for device-specific application launcher key.*/
1.283 + EStdKeyApplicationA=0xbe, /**< Scan code for device-specific application launcher key.*/
1.284 + EStdKeyApplicationB=0xbf, /**< Scan code for device-specific application launcher key.*/
1.285 + EStdKeyApplicationC=0xc0, /**< Scan code for device-specific application launcher key.*/
1.286 + EStdKeyApplicationD=0xc1, /**< Scan code for device-specific application launcher key.*/
1.287 + EStdKeyApplicationE=0xc2, /**< Scan code for device-specific application launcher key.*/
1.288 + EStdKeyApplicationF=0xc3, /**< Scan code for device-specific application launcher key.*/
1.289 + EStdKeyYes=0xc4, /**< Scan code for Yes key.*/
1.290 + EStdKeyNo=0xc5, /**< Scan code for No key.*/
1.291 + EStdKeyIncBrightness=0xc6, /**< Scan code for Increase brightness key.*/
1.292 + EStdKeyDecBrightness=0xc7, /**< Scan code for Decrease brightness key.*/
1.293 + EStdKeyKeyboardExtend=0xc8, /**< Scan code for flip actuated when keypad extends to full keyboard.*/
1.294 + EStdKeyDevice10=0xc9, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.295 + EStdKeyDevice11=0xca, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.296 + EStdKeyDevice12=0xcb, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.297 + EStdKeyDevice13=0xcc, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.298 + EStdKeyDevice14=0xcd, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.299 + EStdKeyDevice15=0xce, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.300 + EStdKeyDevice16=0xcf, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.301 + EStdKeyDevice17=0xd0, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.302 + EStdKeyDevice18=0xd1, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.303 + EStdKeyDevice19=0xd2, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.304 + EStdKeyDevice1A=0xd3, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.305 + EStdKeyDevice1B=0xd4, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.306 + EStdKeyDevice1C=0xd5, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.307 + EStdKeyDevice1D=0xd6, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.308 + EStdKeyDevice1E=0xd7, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.309 + EStdKeyDevice1F=0xd8, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.310 + EStdKeyApplication10=0xd9, /**< Scan code for device-specific application launcher key.*/
1.311 + EStdKeyApplication11=0xda, /**< Scan code for device-specific application launcher key.*/
1.312 + EStdKeyApplication12=0xdb, /**< Scan code for device-specific application launcher key.*/
1.313 + EStdKeyApplication13=0xdc, /**< Scan code for device-specific application launcher key.*/
1.314 + EStdKeyApplication14=0xdd, /**< Scan code for device-specific application launcher key.*/
1.315 + EStdKeyApplication15=0xde, /**< Scan code for device-specific application launcher key.*/
1.316 + EStdKeyApplication16=0xdf, /**< Scan code for device-specific application launcher key.*/
1.317 + EStdKeyApplication17=0xe0, /**< Scan code for device-specific application launcher key.*/
1.318 + EStdKeyApplication18=0xe1, /**< Scan code for device-specific application launcher key.*/
1.319 + EStdKeyApplication19=0xe2, /**< Scan code for device-specific application launcher key.*/
1.320 + EStdKeyApplication1A=0xe3, /**< Scan code for device-specific application launcher key.*/
1.321 + EStdKeyApplication1B=0xe4, /**< Scan code for device-specific application launcher key.*/
1.322 + EStdKeyApplication1C=0xe5, /**< Scan code for device-specific application launcher key.*/
1.323 + EStdKeyApplication1D=0xe6, /**< Scan code for device-specific application launcher key.*/
1.324 + EStdKeyApplication1E=0xe7, /**< Scan code for device-specific application launcher key.*/
1.325 + EStdKeyApplication1F=0xe8, /**< Scan code for device-specific application launcher key.*/
1.326 + EStdKeyDevice20=0xe9, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.327 + EStdKeyDevice21=0xea, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.328 + EStdKeyDevice22=0xeb, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.329 + EStdKeyDevice23=0xec, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.330 + EStdKeyDevice24=0xed, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.331 + EStdKeyDevice25=0xee, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.332 + EStdKeyDevice26=0xef, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.333 + EStdKeyDevice27=0xf0, /**< Device-specific scan code - usually represents an extra hardware key on the phone.*/
1.334 + EStdKeyApplication20=0xf1, /**< Scan code for device-specific application launcher key.*/
1.335 + EStdKeyApplication21=0xf2, /**< Scan code for device-specific application launcher key.*/
1.336 + EStdKeyApplication22=0xf3, /**< Scan code for device-specific application launcher key.*/
1.337 + EStdKeyApplication23=0xf4, /**< Scan code for device-specific application launcher key.*/
1.338 + EStdKeyApplication24=0xf5, /**< Scan code for device-specific application launcher key.*/
1.339 + EStdKeyApplication25=0xf6, /**< Scan code for device-specific application launcher key.*/
1.340 + EStdKeyApplication26=0xf7, /**< Scan code for device-specific application launcher key.*/
1.341 + EStdKeyApplication27=0xf8 /**< Scan code for device-specific application launcher key.*/
1.342 + };
1.343 +
1.344 +
1.345 +
1.346 +
1.347 +/**
1.348 +@publishedAll
1.349 +@released
1.350 +
1.351 +Codes generated by non-ASCII key presses.
1.352 +
1.353 +A key event's character code is held in TKeyEvent::iCode.
1.354 +
1.355 +@see TKeyEvent::iCode
1.356 +*/
1.357 +enum TKeyCode
1.358 + {
1.359 + EKeyNull=0x0000, /**< Code for the Null key. */
1.360 + EKeyBell=0x0007, /**< Code for the Bell key*/
1.361 + EKeyBackspace=0x0008, /**< Code for the Backspace key */
1.362 + EKeyTab=0x0009, /**< Code for the Tab key*/
1.363 + EKeyLineFeed=0x000a, /**< Code for the Linefeed key*/
1.364 + EKeyVerticalTab=0x000b, /**< Code for the Vertical tab key*/
1.365 + EKeyFormFeed=0x000c, /**< Code for the Form feed key*/
1.366 + EKeyEnter=0x000d, /**< Code for the Enter key */
1.367 + EKeyEscape=0x001b, /**< Code for the Escape key */
1.368 + EKeySpace=0x0020, /**< Code for the Space key*/
1.369 + EKeyDelete=0x007f, /**< Code for the Delete (Del) key*/
1.370 + EKeyPrintScreen=ENonCharacterKeyBase,/**< Code for the Print screen key */
1.371 + EKeyPause, /**< Code for the Pause key*/
1.372 + EKeyHome, /**< Code for the Home key*/
1.373 + EKeyEnd, /**< Code for the End key*/
1.374 + EKeyPageUp, /**< Code for the Page up key*/
1.375 + EKeyPageDown, /**< Code for the Page down key*/
1.376 + EKeyInsert, /**< Code for the Insert key*/
1.377 + EKeyLeftArrow, /**< Code for the Left arrow key*/
1.378 + EKeyRightArrow, /**< Code for the Right arrow key*/
1.379 + EKeyUpArrow, /**< Code for the Up arrow key*/
1.380 + EKeyDownArrow, /**< Code for the Down arrow key*/
1.381 + EKeyLeftShift, /**< Code for the left Shift key*/
1.382 + EKeyRightShift, /**< Code for the right Shift key*/
1.383 + EKeyLeftAlt, /**< Code for the left Alt key*/
1.384 + EKeyRightAlt, /**< Code for the right Alt key*/
1.385 + EKeyLeftCtrl, /**< Code for the left Control (Ctrl) key*/
1.386 + EKeyRightCtrl, /**< Code for the right Control (Ctrl) key.*/
1.387 + EKeyLeftFunc, /**< Code for the left Fn key.*/
1.388 + EKeyRightFunc, /**< Code for the right Fn key.*/
1.389 + EKeyCapsLock, /**< Code for the Caps lock key.*/
1.390 + EKeyNumLock, /**< Code for the Num lock key.*/
1.391 + EKeyScrollLock, /**< Code for the Scroll lock key.*/
1.392 + EKeyF1, /**< Code for the F1 function key.*/
1.393 + EKeyF2, /**< Code for the F2 function key.*/
1.394 + EKeyF3, /**< Code for the F3 function key.*/
1.395 + EKeyF4, /**< Code for the F4 function key.*/
1.396 + EKeyF5, /**< Code for the F5 function key.*/
1.397 + EKeyF6, /**< Code for the F6 function key.*/
1.398 + EKeyF7, /**< Code for the F7 function key.*/
1.399 + EKeyF8, /**< Code for the F8 function key.*/
1.400 + EKeyF9, /**< Code for the F9 function key.*/
1.401 + EKeyF10, /**< Code for the F10 function key.*/
1.402 + EKeyF11, /**< Code for the F11 function key.*/
1.403 + EKeyF12, /**< Code for the F12 function key.*/
1.404 + EKeyF13, /**< Code for the F13 function key.*/
1.405 + EKeyF14, /**< Code for the F14 function key.*/
1.406 + EKeyF15, /**< Code for the F15 function key.*/
1.407 + EKeyF16, /**< Code for the F16 function key.*/
1.408 + EKeyF17, /**< Code for the F17 function key.*/
1.409 + EKeyF18, /**< Code for the F18 function key.*/
1.410 + EKeyF19, /**< Code for the F19 function key.*/
1.411 + EKeyF20, /**< Code for the F20 function key.*/
1.412 + EKeyF21, /**< Code for the F21 function key.*/
1.413 + EKeyF22, /**< Code for the F22 function key.*/
1.414 + EKeyF23, /**< Code for the F23 function key.*/
1.415 + EKeyF24, /**< Code for the F24 function key.*/
1.416 + EKeyOff, /**< Code for the Off key.*/
1.417 + EKeyIncContrast, /**< Code for the Increase contrast key.*/
1.418 + EKeyDecContrast, /**< Code for the Decrease contrast key.*/
1.419 + EKeyBacklightOn, /**< Code for the Backlight on key.*/
1.420 + EKeyBacklightOff, /**< Code for the Backlight off key.*/
1.421 + EKeyBacklightToggle, /**< Code for the Backlight toggle key.*/
1.422 + EKeySliderDown, /**< Code for the Slider down key.*/
1.423 + EKeySliderUp, /**< Code for the Slider up key.*/
1.424 + EKeyMenu, /**< Code for the Menu key.*/
1.425 + EKeyDictaphonePlay, /**< Code for the Dictaphone play key.*/
1.426 + EKeyDictaphoneStop, /**< Code for the Dictaphone stop key.*/
1.427 + EKeyDictaphoneRecord, /**< Code for the Dictaphone record key.*/
1.428 + EKeyHelp, /**< Code for the Help key.*/
1.429 + EKeyDial, /**< Code for the Dial key.*/
1.430 + EKeyScreenDimension0, /**< Code for the first Screen dimension change key.*/
1.431 + EKeyScreenDimension1, /**< Code for the second Screen dimension change key.*/
1.432 + EKeyScreenDimension2, /**< Code for the third Screen dimension change key.*/
1.433 + EKeyScreenDimension3, /**< Code for the fourth Screen dimension change key.*/
1.434 + EKeyIncVolume, /**< Code for the increase colume key.*/
1.435 + EKeyDecVolume, /**< Code for the decrease volume key.*/
1.436 + EKeyDevice0, /**< Code for a device specific key.*/
1.437 + EKeyDevice1, /**< Code for a device specific key.*/
1.438 + EKeyDevice2, /**< Code for a device specific key. */
1.439 + EKeyDevice3, /**< Code for a device specific key.*/
1.440 + EKeyDevice4, /**< Code for a device specific key.*/
1.441 + EKeyDevice5, /**< Code for a device specific key.*/
1.442 + EKeyDevice6, /**< Code for a device specific key.*/
1.443 + EKeyDevice7, /**< Code for a device specific key.*/
1.444 + EKeyDevice8, /**< Code for a device specific key.*/
1.445 + EKeyDevice9, /**< Code for a device specific key.*/
1.446 + EKeyDeviceA, /**< Code for a device specific key.*/
1.447 + EKeyDeviceB, /**< Code for a device specific key.*/
1.448 + EKeyDeviceC, /**< Code for a device specific key.*/
1.449 + EKeyDeviceD, /**< Code for a device specific key.*/
1.450 + EKeyDeviceE, /**< Code for a device specific key.*/
1.451 + EKeyDeviceF, /**< Code for a device specific key.*/
1.452 + EKeyApplication0, /**< Code for an Application launcher key.*/
1.453 + EKeyApplication1, /**< Code for an Application launcher key.*/
1.454 + EKeyApplication2, /**< Code for an Application launcher key.*/
1.455 + EKeyApplication3, /**< Code for an Application launcher key.*/
1.456 + EKeyApplication4, /**< Code for an Application launcher key.*/
1.457 + EKeyApplication5, /**< Code for an Application launcher key.*/
1.458 + EKeyApplication6, /**< Code for an Application launcher key.*/
1.459 + EKeyApplication7, /**< Code for an Application launcher key.*/
1.460 + EKeyApplication8, /**< Code for an Application launcher key.*/
1.461 + EKeyApplication9, /**< Code for an Application launcher key.*/
1.462 + EKeyApplicationA, /**< Code for an Application launcher key.*/
1.463 + EKeyApplicationB, /**< Code for an Application launcher key.*/
1.464 + EKeyApplicationC, /**< Code for an Application launcher key.*/
1.465 + EKeyApplicationD, /**< Code for an Application launcher key.*/
1.466 + EKeyApplicationE, /**< Code for an Application launcher key.*/
1.467 + EKeyApplicationF, /**< Code for an Application launcher key.*/
1.468 + EKeyYes, /**< Code for the Yes key.*/
1.469 + EKeyNo, /**< Code for the No key.*/
1.470 + EKeyIncBrightness, /**< Code for the increase brightness key.*/
1.471 + EKeyDecBrightness, /**< Code for the decrease brightness key. */
1.472 + EKeyKeyboardExtend, /**< Code for flip actuated when keypad extends to full keyboard.*/
1.473 + EKeyDevice10, /**< Code for a device specific key.*/
1.474 + EKeyDevice11, /**< Code for a device specific key.*/
1.475 + EKeyDevice12, /**< Code for a device specific key. */
1.476 + EKeyDevice13, /**< Code for a device specific key.*/
1.477 + EKeyDevice14, /**< Code for a device specific key.*/
1.478 + EKeyDevice15, /**< Code for a device specific key.*/
1.479 + EKeyDevice16, /**< Code for a device specific key.*/
1.480 + EKeyDevice17, /**< Code for a device specific key.*/
1.481 + EKeyDevice18, /**< Code for a device specific key.*/
1.482 + EKeyDevice19, /**< Code for a device specific key.*/
1.483 + EKeyDevice1A, /**< Code for a device specific key.*/
1.484 + EKeyDevice1B, /**< Code for a device specific key.*/
1.485 + EKeyDevice1C, /**< Code for a device specific key.*/
1.486 + EKeyDevice1D, /**< Code for a device specific key.*/
1.487 + EKeyDevice1E, /**< Code for a device specific key.*/
1.488 + EKeyDevice1F, /**< Code for a device specific key.*/
1.489 + EKeyApplication10, /**< Code for an Application launcher key.*/
1.490 + EKeyApplication11, /**< Code for an Application launcher key.*/
1.491 + EKeyApplication12, /**< Code for an Application launcher key.*/
1.492 + EKeyApplication13, /**< Code for an Application launcher key.*/
1.493 + EKeyApplication14, /**< Code for an Application launcher key.*/
1.494 + EKeyApplication15, /**< Code for an Application launcher key.*/
1.495 + EKeyApplication16, /**< Code for an Application launcher key.*/
1.496 + EKeyApplication17, /**< Code for an Application launcher key.*/
1.497 + EKeyApplication18, /**< Code for an Application launcher key.*/
1.498 + EKeyApplication19, /**< Code for an Application launcher key.*/
1.499 + EKeyApplication1A, /**< Code for an Application launcher key.*/
1.500 + EKeyApplication1B, /**< Code for an Application launcher key.*/
1.501 + EKeyApplication1C, /**< Code for an Application launcher key.*/
1.502 + EKeyApplication1D, /**< Code for an Application launcher key.*/
1.503 + EKeyApplication1E, /**< Code for an Application launcher key.*/
1.504 + EKeyApplication1F, /**< Code for an Application launcher key.*/
1.505 + EKeyDevice20, /**< Code for a device specific key.*/
1.506 + EKeyDevice21, /**< Code for a device specific key.*/
1.507 + EKeyDevice22, /**< Code for a device specific key.*/
1.508 + EKeyDevice23, /**< Code for a device specific key.*/
1.509 + EKeyDevice24, /**< Code for a device specific key.*/
1.510 + EKeyDevice25, /**< Code for a device specific key.*/
1.511 + EKeyDevice26, /**< Code for a device specific key.*/
1.512 + EKeyDevice27, /**< Code for a device specific key.*/
1.513 + EKeyApplication20, /**< Code for an Application launcher key.*/
1.514 + EKeyApplication21, /**< Code for an Application launcher key.*/
1.515 + EKeyApplication22, /**< Code for an Application launcher key.*/
1.516 + EKeyApplication23, /**< Code for an Application launcher key.*/
1.517 + EKeyApplication24, /**< Code for an Application launcher key.*/
1.518 + EKeyApplication25, /**< Code for an Application launcher key.*/
1.519 + EKeyApplication26, /**< Code for an Application launcher key.*/
1.520 + EKeyApplication27 /**< Code for an Application launcher key.*/
1.521 + };
1.522 +
1.523 +#endif
1.524 +