1
|
1 /* KEY code definitions for GyS-TermIO v2.0 (C) 1999 A'rpi/ESP-team */
|
|
2
|
|
3 #define KEY_ENTER 13
|
|
4 #define KEY_TAB 9
|
|
5
|
|
6 #define KEY_BASE 0x100
|
|
7
|
|
8 /* Function keys */
|
|
9 #define KEY_F (KEY_BASE+64)
|
|
10
|
|
11 /* Control keys */
|
|
12 #define KEY_CTRL (KEY_BASE)
|
|
13 #define KEY_BACKSPACE (KEY_CTRL+0)
|
|
14 #define KEY_DELETE (KEY_CTRL+1)
|
|
15 #define KEY_INSERT (KEY_CTRL+2)
|
|
16 #define KEY_HOME (KEY_CTRL+3)
|
|
17 #define KEY_END (KEY_CTRL+4)
|
|
18 #define KEY_PAGE_UP (KEY_CTRL+5)
|
|
19 #define KEY_PAGE_DOWN (KEY_CTRL+6)
|
|
20 #define KEY_ESC (KEY_CTRL+7)
|
|
21
|
|
22 /* Control keys short name */
|
|
23 #define KEY_BS KEY_BACKSPACE
|
|
24 #define KEY_DEL KEY_DELETE
|
|
25 #define KEY_INS KEY_INSERT
|
|
26 #define KEY_PGUP KEY_PAGE_UP
|
|
27 #define KEY_PGDOWN KEY_PAGE_DOWN
|
|
28 #define KEY_PGDWN KEY_PAGE_DOWN
|
|
29
|
|
30 /* Cursor movement */
|
|
31 #define KEY_CRSR (KEY_BASE+16)
|
|
32 #define KEY_RIGHT (KEY_CRSR+0)
|
|
33 #define KEY_LEFT (KEY_CRSR+1)
|
|
34 #define KEY_DOWN (KEY_CRSR+2)
|
|
35 #define KEY_UP (KEY_CRSR+3)
|
|
36
|