00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00032 #define BG_KEY_SHIFT_MASK (1<<0)
00033 #define BG_KEY_CONTROL_MASK (1<<1)
00034 #define BG_KEY_ALT_MASK (1<<2)
00035 #define BG_KEY_SUPER_MASK (1<<3)
00036 #define BG_KEY_BUTTON1_MASK (1<<4)
00037 #define BG_KEY_BUTTON2_MASK (1<<5)
00038 #define BG_KEY_BUTTON3_MASK (1<<6)
00039 #define BG_KEY_BUTTON4_MASK (1<<7)
00040 #define BG_KEY_BUTTON5_MASK (1<<8)
00041
00042 #define BG_KEY_NONE -1
00043
00044 #define BG_KEY_0 0
00045 #define BG_KEY_1 1
00046 #define BG_KEY_2 2
00047 #define BG_KEY_3 3
00048 #define BG_KEY_4 4
00049 #define BG_KEY_5 5
00050 #define BG_KEY_6 6
00051 #define BG_KEY_7 7
00052 #define BG_KEY_8 8
00053 #define BG_KEY_9 9
00054
00055 #define BG_KEY_SPACE 10
00056 #define BG_KEY_RETURN 11
00057 #define BG_KEY_LEFT 12
00058 #define BG_KEY_RIGHT 13
00059 #define BG_KEY_UP 14
00060 #define BG_KEY_DOWN 15
00061 #define BG_KEY_PAGE_UP 16
00062 #define BG_KEY_PAGE_DOWN 17
00063 #define BG_KEY_HOME 18
00064 #define BG_KEY_PLUS 19
00065 #define BG_KEY_MINUS 20
00066 #define BG_KEY_TAB 21
00067 #define BG_KEY_ESCAPE 22
00068 #define BG_KEY_MENU 23
00069
00070 #define BG_KEY_QUESTION 24
00071 #define BG_KEY_EXCLAM 25
00072 #define BG_KEY_QUOTEDBL 26
00073 #define BG_KEY_DOLLAR 27
00074 #define BG_KEY_PERCENT 28
00075 #define BG_KEY_APMERSAND 29
00076 #define BG_KEY_SLASH 30
00077 #define BG_KEY_LEFTPAREN 31
00078 #define BG_KEY_RIGHTPAREN 32
00079 #define BG_KEY_EQUAL 33
00080 #define BG_KEY_BACKSLASH 34
00081
00082 #define BG_KEY_A 101
00083 #define BG_KEY_B 102
00084 #define BG_KEY_C 103
00085 #define BG_KEY_D 104
00086 #define BG_KEY_E 105
00087 #define BG_KEY_F 106
00088 #define BG_KEY_G 107
00089 #define BG_KEY_H 108
00090 #define BG_KEY_I 109
00091 #define BG_KEY_J 110
00092 #define BG_KEY_K 111
00093 #define BG_KEY_L 112
00094 #define BG_KEY_M 113
00095 #define BG_KEY_N 114
00096 #define BG_KEY_O 115
00097 #define BG_KEY_P 116
00098 #define BG_KEY_Q 117
00099 #define BG_KEY_R 118
00100 #define BG_KEY_S 119
00101 #define BG_KEY_T 120
00102 #define BG_KEY_U 121
00103 #define BG_KEY_V 122
00104 #define BG_KEY_W 123
00105 #define BG_KEY_X 124
00106 #define BG_KEY_Y 125
00107 #define BG_KEY_Z 126
00108
00109 #define BG_KEY_a 201
00110 #define BG_KEY_b 202
00111 #define BG_KEY_c 203
00112 #define BG_KEY_d 204
00113 #define BG_KEY_e 205
00114 #define BG_KEY_f 206
00115 #define BG_KEY_g 207
00116 #define BG_KEY_h 208
00117 #define BG_KEY_i 209
00118 #define BG_KEY_j 210
00119 #define BG_KEY_k 211
00120 #define BG_KEY_l 212
00121 #define BG_KEY_m 213
00122 #define BG_KEY_n 214
00123 #define BG_KEY_o 215
00124 #define BG_KEY_p 216
00125 #define BG_KEY_q 217
00126 #define BG_KEY_r 218
00127 #define BG_KEY_s 219
00128 #define BG_KEY_t 220
00129 #define BG_KEY_u 221
00130 #define BG_KEY_v 222
00131 #define BG_KEY_w 223
00132 #define BG_KEY_x 224
00133 #define BG_KEY_y 225
00134 #define BG_KEY_z 226
00135
00136
00137 #define BG_KEY_F1 301
00138 #define BG_KEY_F2 302
00139 #define BG_KEY_F3 303
00140 #define BG_KEY_F4 304
00141 #define BG_KEY_F5 305
00142 #define BG_KEY_F6 306
00143 #define BG_KEY_F7 307
00144 #define BG_KEY_F8 308
00145 #define BG_KEY_F9 309
00146 #define BG_KEY_F10 310
00147 #define BG_KEY_F11 311
00148 #define BG_KEY_F12 312
00149
00150