Back to index

im-sdk  12.3.91
imkey.h
Go to the documentation of this file.
00001 #ifndef _IM_KEYS_H
00002 #define _IM_KEYS_H
00003 
00004 #define IME_VK_ENTER          '\n'
00005 #define IME_VK_BACK_SPACE     '\b'
00006 #define IME_VK_TAB            '\t'
00007 #define IME_VK_CANCEL         0x03
00008 #define IME_VK_CLEAR          0x0C
00009 #define IME_VK_SHIFT          0x10
00010 #define IME_VK_CONTROL        0x11
00011 #define IME_VK_ALT            0x12
00012 #define IME_VK_PAUSE          0x13
00013 #define IME_VK_CAPS_LOCK      0x14
00014 #define IME_VK_ESCAPE         0x1B
00015 #define IME_VK_SPACE          0x20
00016 #define IME_VK_PAGE_UP        0x21
00017 #define IME_VK_PAGE_DOWN      0x22
00018 #define IME_VK_END            0x23
00019 #define IME_VK_HOME           0x24
00020 #define IME_VK_LEFT           0x25
00021 #define IME_VK_UP             0x26
00022 #define IME_VK_RIGHT          0x27
00023 #define IME_VK_DOWN           0x28
00024 #define IME_VK_COMMA          0x2C
00025 #define IME_VK_MINUS          0x2D
00026 #define IME_VK_PERIOD         0x2E
00027 #define IME_VK_SLASH          0x2F
00028 #define IME_VK_0              0x30
00029 #define IME_VK_1              0x31
00030 #define IME_VK_2              0x32
00031 #define IME_VK_3              0x33
00032 #define IME_VK_4              0x34
00033 #define IME_VK_5              0x35
00034 #define IME_VK_6              0x36
00035 #define IME_VK_7              0x37
00036 #define IME_VK_8              0x38
00037 #define IME_VK_9              0x39
00038 #define IME_VK_SEMICOLON      0x3B
00039 #define IME_VK_EQUALS         0x3D
00040 #define IME_VK_A              0x41
00041 #define IME_VK_B              0x42
00042 #define IME_VK_C              0x43
00043 #define IME_VK_D              0x44
00044 #define IME_VK_E              0x45
00045 #define IME_VK_F              0x46
00046 #define IME_VK_G              0x47
00047 #define IME_VK_H              0x48
00048 #define IME_VK_I              0x49
00049 #define IME_VK_J              0x4A
00050 #define IME_VK_K              0x4B
00051 #define IME_VK_L              0x4C
00052 #define IME_VK_M              0x4D
00053 #define IME_VK_N              0x4E
00054 #define IME_VK_O              0x4F
00055 #define IME_VK_P              0x50
00056 #define IME_VK_Q              0x51
00057 #define IME_VK_R              0x52
00058 #define IME_VK_S              0x53
00059 #define IME_VK_T              0x54
00060 #define IME_VK_U              0x55
00061 #define IME_VK_V              0x56
00062 #define IME_VK_W              0x57
00063 #define IME_VK_X              0x58
00064 #define IME_VK_Y              0x59
00065 #define IME_VK_Z              0x5A
00066 #define IME_VK_OPEN_BRACKET   0x5B
00067 #define IME_VK_BACK_SLASH     0x5C
00068 #define IME_VK_CLOSE_BRACKET  0x5D
00069 #define IME_VK_NUMPAD0        0x60
00070 #define IME_VK_NUMPAD1        0x61
00071 #define IME_VK_NUMPAD2        0x62
00072 #define IME_VK_NUMPAD3        0x63
00073 #define IME_VK_NUMPAD4        0x64
00074 #define IME_VK_NUMPAD5        0x65
00075 #define IME_VK_NUMPAD6        0x66
00076 #define IME_VK_NUMPAD7        0x67
00077 #define IME_VK_NUMPAD8        0x68
00078 #define IME_VK_NUMPAD9        0x69
00079 #define IME_VK_MULTIPLY       0x6A
00080 #define IME_VK_ADD            0x6B
00081 #define IME_VK_SEPARATER      0x6C
00082 #define IME_VK_SUBTRACT       0x6D
00083 #define IME_VK_DECIMAL        0x6E
00084 #define IME_VK_DIVIDE         0x6F
00085 #define IME_VK_DELETE         0x7F /* ASCII DEL */
00086 #define IME_VK_NUM_LOCK       0x90
00087 #define IME_VK_SCROLL_LOCK    0x91
00088 #define IME_VK_F1             0x70
00089 #define IME_VK_F2             0x71
00090 #define IME_VK_F3             0x72
00091 #define IME_VK_F4             0x73
00092 #define IME_VK_F5             0x74
00093 #define IME_VK_F6             0x75
00094 #define IME_VK_F7             0x76
00095 #define IME_VK_F8             0x77
00096 #define IME_VK_F9             0x78
00097 #define IME_VK_F10            0x79
00098 #define IME_VK_F11            0x7A
00099 #define IME_VK_F12            0x7B
00100 #define IME_VK_F13            0xF000
00101 #define IME_VK_F14            0xF001
00102 #define IME_VK_F15            0xF002
00103 #define IME_VK_F16            0xF003
00104 #define IME_VK_F17            0xF004
00105 #define IME_VK_F18            0xF005
00106 #define IME_VK_F19            0xF006
00107 #define IME_VK_F20            0xF007
00108 #define IME_VK_F21            0xF008
00109 #define IME_VK_F22            0xF009
00110 #define IME_VK_F23            0xF00A
00111 #define IME_VK_F24            0xF00B
00112 #define IME_VK_PRINTSCREEN    0x9A
00113 #define IME_VK_INSERT         0x9B
00114 #define IME_VK_HELP           0x9C
00115 #define IME_VK_META           0x9D
00116 #define IME_VK_BACK_QUOTE     0xC0
00117 #define IME_VK_QUOTE          0xDE
00118 #define IME_VK_KP_UP          0xE0
00119 #define IME_VK_KP_DOWN        0xE1
00120 #define IME_VK_KP_LEFT        0xE2
00121 #define IME_VK_KP_RIGHT       0xE3
00122 #define IME_VK_DEAD_GRAVE               0x80
00123 #define IME_VK_DEAD_ACUTE               0x81
00124 #define IME_VK_DEAD_CIRCUMFLEX          0x82
00125 #define IME_VK_DEAD_TILDE               0x83
00126 #define IME_VK_DEAD_MACRON              0x84
00127 #define IME_VK_DEAD_BREVE               0x85
00128 #define IME_VK_DEAD_ABOVEDOT            0x86
00129 #define IME_VK_DEAD_DIAERESIS           0x87
00130 #define IME_VK_DEAD_ABOVERING           0x88
00131 #define IME_VK_DEAD_DOUBLEACUTE         0x89
00132 #define IME_VK_DEAD_CARON               0x8a
00133 #define IME_VK_DEAD_CEDILLA             0x8b
00134 #define IME_VK_DEAD_OGONEK              0x8c
00135 #define IME_VK_DEAD_IOTA                0x8d
00136 #define IME_VK_DEAD_VOICED_SOUND        0x8e
00137 #define IME_VK_DEAD_SEMIVOICED_SOUND    0x8f
00138 #define IME_VK_AMPERSAND                0x96
00139 #define IME_VK_ASTERISK                 0x97
00140 #define IME_VK_QUOTEDBL                 0x98
00141 #define IME_VK_LESS                     0x99
00142 #define IME_VK_GREATER                  0xa0
00143 #define IME_VK_BRACELEFT                0xa1
00144 #define IME_VK_BRACERIGHT               0xa2
00145 #define IME_VK_AT                       0x0200
00146 #define IME_VK_COLON                    0x0201
00147 #define IME_VK_CIRCUMFLEX               0x0202
00148 #define IME_VK_DOLLAR                   0x0203
00149 #define IME_VK_EURO_SIGN                0x0204
00150 #define IME_VK_EXCLAMATION_MARK         0x0205
00151 #define IME_VK_INVERTED_EXCLAMATION_MARK 0x0206
00152 #define IME_VK_LEFT_PARENTHESIS         0x0207
00153 #define IME_VK_NUMBER_SIGN              0x0208
00154 #define IME_VK_PLUS                     0x0209
00155 #define IME_VK_RIGHT_PARENTHESIS        0x020A
00156 #define IME_VK_UNDERSCORE               0x020B
00157 #define IME_VK_FINAL                    0x0018
00158 #define IME_VK_CONVERT                  0x001C
00159 #define IME_VK_NONCONVERT               0x001D
00160 #define IME_VK_ACCEPT                   0x001E
00161 #define IME_VK_MODECHANGE               0x001F
00162 #define IME_VK_KANA                     0x0015
00163 #define IME_VK_KANJI                    0x0019
00164 #define IME_VK_ALPHANUMERIC             0x00F0
00165 #define IME_VK_KATAKANA                 0x00F1
00166 #define IME_VK_HIRAGANA                 0x00F2
00167 #define IME_VK_FULL_WIDTH               0x00F3
00168 #define IME_VK_HALF_WIDTH               0x00F4
00169 #define IME_VK_ROMAN_CHARACTERS         0x00F5
00170 #define IME_VK_ALL_CANDIDATES           0x0100
00171 #define IME_VK_PREVIOUS_CANDIDATE       0x0101
00172 #define IME_VK_CODE_INPUT               0x0102
00173 #define IME_VK_JAPANESE_KATAKANA        0x0103
00174 #define IME_VK_JAPANESE_HIRAGANA        0x0104
00175 #define IME_VK_JAPANESE_ROMAN           0x0105
00176 #define IME_VK_CUT                      0xFFD1
00177 #define IME_VK_COPY                     0xFFCD
00178 #define IME_VK_PASTE                    0xFFCF
00179 #define IME_VK_UNDO                     0xFFCB
00180 #define IME_VK_AGAIN                    0xFFC9
00181 #define IME_VK_FIND                     0xFFD0
00182 #define IME_VK_PROPS                    0xFFCA
00183 #define IME_VK_STOP                     0xFFC8
00184 #define IME_VK_COMPOSE                  0xFF20
00185 #define IME_VK_ALT_GRAPH                0xFF7E
00186 #define IME_VK_UNDEFINED                0x0
00187 
00188 #define       IME_SHIFT_MASK               (1 << 0)
00189 #define       IME_CTRL_MASK         (1 << 1)
00190 #define       IME_META_MASK         (1 << 2)
00191 #define       IME_ALT_MASK          (1 << 3)
00192 #define       IME_ALT_GRAPH_MASK   (1 << 5)
00193 #define       IME_BUTTON1_MASK     (1 << 4)
00194 #define       IME_BUTTON2_MASK     ALT_MASK
00195 #define       IME_BUTTON3_MASK     META_MASK
00196 
00197 #endif