1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 #define F1 315
26 #define F2 316
27 #define F3 317
28 #define F4 318
29 #define F5 319
30 #define F6 320
31 #define F7 321
32 #define F8 322
33 #define F9 323
34 #define F10 324
35
36
37
38 #define CTRL_F1 350
39 #define CTRL_F2 351
40 #define CTRL_F3 352
41 #define CTRL_F4 353
42 #define CTRL_F5 354
43 #define CTRL_F6 355
44 #define CTRL_F7 356
45 #define CTRL_F8 357
46 #define CTRL_F9 358
47 #define CTRL_F10 359
48
49
50
51 #define ALT_F1 360
52 #define ALT_F2 361
53 #define ALT_F3 362
54 #define ALT_F4 363
55 #define ALT_F5 364
56 #define ALT_F6 365
57 #define ALT_F7 366
58 #define ALT_F8 367
59 #define ALT_F9 368
60 #define ALT_F10 369
61
62
63
64 #define HOME_KEY 327
65 #define UP_ARROW_KEY 328
66 #define PAGE_UP_KEY 329
67 #define LEFT_ARROW_KEY 331
68 #define RIGHT_ARROW_KEY 333
69 #define END_KEY 335
70 #define DOWN_ARROW_KEY 336
71 #define PAGE_DOWN_KEY 337
72 #define INS_KEY 338
73 #define DEL_KEY 339
74
75
76
77 #define CTRL_A 1
78 #define CTRL_B 2
79 #define CTRL_C 3
80 #define CTRL_D 4
81 #define CTRL_E 5
82 #define CTRL_F 6
83 #define CTRL_G 7
84 #define CTRL_H 8
85 #define CTRL_I 9
86 #define CTRL_J 10
87 #define CTRL_K 11
88 #define CTRL_L 12
89 #define CTRL_M 13
90 #define CTRL_N 14
91 #define CTRL_O 15
92 #define CTRL_P 16
93 #define CTRL_Q 17
94 #define CTRL_R 18
95 #define CTRL_S 19
96 #define CTRL_T 20
97 #define CTRL_U 21
98 #define CTRL_V 22
99 #define CTRL_W 23
100 #define CTRL_X 24
101 #define CTRL_Y 25
102 #define CTRL_Z 26
103 #define CTRL_RSB 29
104
105
106
107
108 #define BELL 7
109 #define BS 8
110 #define TAB 9
111 #define LF 10
112 #define CR 13
113 #define ESC 27
114 #define SPACE 32
115
116
117 ^Z