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