Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */ |
2 | /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
||
3 | #ifndef __dj_include_keys_h_ |
||
4 | #define __dj_include_keys_h_ |
||
5 | |||
6 | #ifdef __cplusplus |
||
7 | extern "C" { |
||
8 | #endif |
||
9 | |||
10 | #ifndef __dj_ENFORCE_ANSI_FREESTANDING |
||
11 | |||
12 | #ifndef __STRICT_ANSI__ |
||
13 | |||
14 | #ifndef _POSIX_SOURCE |
||
15 | |||
16 | /* Values as returned from getkey() and getxkey() */ |
||
17 | |||
18 | #define K_Control_A 0x001 |
||
19 | #define K_Control_B 0x002 |
||
20 | #define K_Control_C 0x003 |
||
21 | #define K_Control_D 0x004 |
||
22 | #define K_Control_E 0x005 |
||
23 | #define K_Control_F 0x006 |
||
24 | #define K_Control_G 0x007 |
||
25 | #define K_BackSpace 0x008 |
||
26 | #define K_Control_H 0x008 |
||
27 | #define K_Tab 0x009 |
||
28 | #define K_Control_I 0x009 |
||
29 | #define K_LineFeed 0x00a |
||
30 | #define K_Control_J 0x00a |
||
31 | #define K_Control_K 0x00b |
||
32 | #define K_Control_L 0x00c |
||
33 | #define K_Return 0x00d |
||
34 | #define K_Control_M 0x00d |
||
35 | #define K_Control_N 0x00e |
||
36 | #define K_Control_O 0x00f |
||
37 | #define K_Control_P 0x010 |
||
38 | #define K_Control_Q 0x011 |
||
39 | #define K_Control_R 0x012 |
||
40 | #define K_Control_S 0x013 |
||
41 | #define K_Control_T 0x014 |
||
42 | #define K_Control_U 0x015 |
||
43 | #define K_Control_V 0x016 |
||
44 | #define K_Control_W 0x017 |
||
45 | #define K_Control_X 0x018 |
||
46 | #define K_Control_Y 0x019 |
||
47 | #define K_Control_Z 0x01a |
||
48 | #define K_Control_LBracket 0x01b |
||
49 | #define K_Escape 0x01b |
||
50 | #define K_Control_BackSlash 0x01c |
||
51 | #define K_Control_RBracket 0x01d |
||
52 | #define K_Control_Caret 0x01e |
||
53 | #define K_Control_Underscore 0x01f |
||
54 | #define K_Space 0x020 |
||
55 | #define K_ExclamationPoint 0x021 |
||
56 | #define K_DoubleQuote 0x022 |
||
57 | #define K_Hash 0x023 |
||
58 | #define K_Dollar 0x024 |
||
59 | #define K_Percent 0x025 |
||
60 | #define K_Ampersand 0x026 |
||
61 | #define K_Quote 0x027 |
||
62 | #define K_LParen 0x028 |
||
63 | #define K_RParen 0x029 |
||
64 | #define K_Star 0x02a |
||
65 | #define K_Plus 0x02b |
||
66 | #define K_Comma 0x02c |
||
67 | #define K_Dash 0x02d |
||
68 | #define K_Period 0x02e |
||
69 | #define K_Slash 0x02f |
||
70 | #define K_Colon 0x03a |
||
71 | #define K_SemiColon 0x03b |
||
72 | #define K_LAngle 0x03c |
||
73 | #define K_Equals 0x03d |
||
74 | #define K_RAngle 0x03e |
||
75 | #define K_QuestionMark 0x03f |
||
76 | #define K_At 0x040 |
||
77 | #define K_LBracket 0x05b |
||
78 | #define K_BackSlash 0x05c |
||
79 | #define K_RBracket 0x05d |
||
80 | #define K_Caret 0x05e |
||
81 | #define K_UnderScore 0x05f |
||
82 | #define K_BackQuote 0x060 |
||
83 | #define K_LBrace 0x07b |
||
84 | #define K_Pipe 0x07c |
||
85 | #define K_RBrace 0x07d |
||
86 | #define K_Tilde 0x07e |
||
87 | #define K_Control_Backspace 0x07f |
||
88 | |||
89 | #define K_Alt_Escape 0x101 |
||
90 | #define K_Control_At 0x103 |
||
91 | #define K_Alt_Backspace 0x10e |
||
92 | #define K_BackTab 0x10f |
||
93 | #define K_Alt_Q 0x110 |
||
94 | #define K_Alt_W 0x111 |
||
95 | #define K_Alt_E 0x112 |
||
96 | #define K_Alt_R 0x113 |
||
97 | #define K_Alt_T 0x114 |
||
98 | #define K_Alt_Y 0x115 |
||
99 | #define K_Alt_U 0x116 |
||
100 | #define K_Alt_I 0x117 |
||
101 | #define K_Alt_O 0x118 |
||
102 | #define K_Alt_P 0x119 |
||
103 | #define K_Alt_LBracket 0x11a |
||
104 | #define K_Alt_RBracket 0x11b |
||
105 | #define K_Alt_Return 0x11c |
||
106 | #define K_Alt_A 0x11e |
||
107 | #define K_Alt_S 0x11f |
||
108 | #define K_Alt_D 0x120 |
||
109 | #define K_Alt_F 0x121 |
||
110 | #define K_Alt_G 0x122 |
||
111 | #define K_Alt_H 0x123 |
||
112 | #define K_Alt_J 0x124 |
||
113 | #define K_Alt_K 0x125 |
||
114 | #define K_Alt_L 0x126 |
||
115 | #define K_Alt_Semicolon 0x127 |
||
116 | #define K_Alt_Quote 0x128 |
||
117 | #define K_Alt_Backquote 0x129 |
||
118 | #define K_Alt_Backslash 0x12b |
||
119 | #define K_Alt_Z 0x12c |
||
120 | #define K_Alt_X 0x12d |
||
121 | #define K_Alt_C 0x12e |
||
122 | #define K_Alt_V 0x12f |
||
123 | #define K_Alt_B 0x130 |
||
124 | #define K_Alt_N 0x131 |
||
125 | #define K_Alt_M 0x132 |
||
126 | #define K_Alt_Comma 0x133 |
||
127 | #define K_Alt_Period 0x134 |
||
128 | #define K_Alt_Slash 0x135 |
||
129 | #define K_Alt_KPStar 0x137 |
||
130 | #define K_F1 0x13b |
||
131 | #define K_F2 0x13c |
||
132 | #define K_F3 0x13d |
||
133 | #define K_F4 0x13e |
||
134 | #define K_F5 0x13f |
||
135 | #define K_F6 0x140 |
||
136 | #define K_F7 0x141 |
||
137 | #define K_F8 0x142 |
||
138 | #define K_F9 0x143 |
||
139 | #define K_F10 0x144 |
||
140 | #define K_Home 0x147 |
||
141 | #define K_Up 0x148 |
||
142 | #define K_PageUp 0x149 |
||
143 | #define K_Alt_KPMinus 0x14a |
||
144 | #define K_Left 0x14b |
||
145 | #define K_Center 0x14c |
||
146 | #define K_Right 0x14d |
||
147 | #define K_Alt_KPPlus 0x14e |
||
148 | #define K_End 0x14f |
||
149 | #define K_Down 0x150 |
||
150 | #define K_PageDown 0x151 |
||
151 | #define K_Insert 0x152 |
||
152 | #define K_Delete 0x153 |
||
153 | #define K_Shift_F1 0x154 |
||
154 | #define K_Shift_F2 0x155 |
||
155 | #define K_Shift_F3 0x156 |
||
156 | #define K_Shift_F4 0x157 |
||
157 | #define K_Shift_F5 0x158 |
||
158 | #define K_Shift_F6 0x159 |
||
159 | #define K_Shift_F7 0x15a |
||
160 | #define K_Shift_F8 0x15b |
||
161 | #define K_Shift_F9 0x15c |
||
162 | #define K_Shift_F10 0x15d |
||
163 | #define K_Control_F1 0x15e |
||
164 | #define K_Control_F2 0x15f |
||
165 | #define K_Control_F3 0x160 |
||
166 | #define K_Control_F4 0x161 |
||
167 | #define K_Control_F5 0x162 |
||
168 | #define K_Control_F6 0x163 |
||
169 | #define K_Control_F7 0x164 |
||
170 | #define K_Control_F8 0x165 |
||
171 | #define K_Control_F9 0x166 |
||
172 | #define K_Control_F10 0x167 |
||
173 | #define K_Alt_F1 0x168 |
||
174 | #define K_Alt_F2 0x169 |
||
175 | #define K_Alt_F3 0x16a |
||
176 | #define K_Alt_F4 0x16b |
||
177 | #define K_Alt_F5 0x16c |
||
178 | #define K_Alt_F6 0x16d |
||
179 | #define K_Alt_F7 0x16e |
||
180 | #define K_Alt_F8 0x16f |
||
181 | #define K_Alt_F9 0x170 |
||
182 | #define K_Alt_F10 0x171 |
||
183 | #define K_Control_Print 0x172 |
||
184 | #define K_Control_Left 0x173 |
||
185 | #define K_Control_Right 0x174 |
||
186 | #define K_Control_End 0x175 |
||
187 | #define K_Control_PageDown 0x176 |
||
188 | #define K_Control_Home 0x177 |
||
189 | #define K_Alt_1 0x178 |
||
190 | #define K_Alt_2 0x179 |
||
191 | #define K_Alt_3 0x17a |
||
192 | #define K_Alt_4 0x17b |
||
193 | #define K_Alt_5 0x17c |
||
194 | #define K_Alt_6 0x17d |
||
195 | #define K_Alt_7 0x17e |
||
196 | #define K_Alt_8 0x17f |
||
197 | #define K_Alt_9 0x180 |
||
198 | #define K_Alt_0 0x181 |
||
199 | #define K_Alt_Dash 0x182 |
||
200 | #define K_Alt_Equals 0x183 |
||
201 | #define K_Control_PageUp 0x184 |
||
202 | #define K_F11 0x185 |
||
203 | #define K_F12 0x186 |
||
204 | #define K_Shift_F11 0x187 |
||
205 | #define K_Shift_F12 0x188 |
||
206 | #define K_Control_F11 0x189 |
||
207 | #define K_Control_F12 0x18a |
||
208 | #define K_Alt_F11 0x18b |
||
209 | #define K_Alt_F12 0x18c |
||
210 | #define K_Control_Up 0x18d |
||
211 | #define K_Control_KPDash 0x18e |
||
212 | #define K_Control_Center 0x18f |
||
213 | #define K_Control_KPPlus 0x190 |
||
214 | #define K_Control_Down 0x191 |
||
215 | #define K_Control_Insert 0x192 |
||
216 | #define K_Control_Delete 0x193 |
||
217 | #define K_Control_KPSlash 0x195 |
||
218 | #define K_Control_KPStar 0x196 |
||
219 | #define K_Alt_EHome 0x197 |
||
220 | #define K_Alt_EUp 0x198 |
||
221 | #define K_Alt_EPageUp 0x199 |
||
222 | #define K_Alt_ELeft 0x19b |
||
223 | #define K_Alt_ERight 0x19d |
||
224 | #define K_Alt_EEnd 0x19f |
||
225 | #define K_Alt_EDown 0x1a0 |
||
226 | #define K_Alt_EPageDown 0x1a1 |
||
227 | #define K_Alt_EInsert 0x1a2 |
||
228 | #define K_Alt_EDelete 0x1a3 |
||
229 | #define K_Alt_KPSlash 0x1a4 |
||
230 | #define K_Alt_Tab 0x1a5 |
||
231 | #define K_Alt_Enter 0x1a6 |
||
232 | |||
233 | #define K_EHome 0x247 |
||
234 | #define K_EUp 0x248 |
||
235 | #define K_EPageUp 0x249 |
||
236 | #define K_ELeft 0x24b |
||
237 | #define K_ERight 0x24d |
||
238 | #define K_EEnd 0x24f |
||
239 | #define K_EDown 0x250 |
||
240 | #define K_EPageDown 0x251 |
||
241 | #define K_EInsert 0x252 |
||
242 | #define K_EDelete 0x253 |
||
243 | #define K_Control_ELeft 0x273 |
||
244 | #define K_Control_ERight 0x274 |
||
245 | #define K_Control_EEnd 0x275 |
||
246 | #define K_Control_EPageDown 0x276 |
||
247 | #define K_Control_EHome 0x277 |
||
248 | #define K_Control_EPageUp 0x284 |
||
249 | #define K_Control_EUp 0x28d |
||
250 | #define K_Control_EDown 0x291 |
||
251 | #define K_Control_EInsert 0x292 |
||
252 | #define K_Control_EDelete 0x293 |
||
253 | |||
254 | #endif /* !_POSIX_SOURCE */ |
||
255 | #endif /* !__STRICT_ANSI__ */ |
||
256 | #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ |
||
257 | |||
258 | #ifndef __dj_ENFORCE_FUNCTION_CALLS |
||
259 | #endif /* !__dj_ENFORCE_FUNCTION_CALLS */ |
||
260 | |||
261 | #ifdef __cplusplus |
||
262 | } |
||
263 | #endif |
||
264 | |||
265 | #endif /* !__dj_include_keys_h_ */ |