annotate osdep/keycodes.h @ 16755:ae0d1e32a4df

nit by diego
author ods15
date Thu, 13 Oct 2005 20:36:28 +0000
parents 150d1ef4204d
children 3470c810527b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 /* KEY code definitions for GyS-TermIO v2.0 (C) 1999 A'rpi/ESP-team */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 #define KEY_ENTER 13
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 #define KEY_TAB 9
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 #define KEY_BASE 0x100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 /* Function keys */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 #define KEY_F (KEY_BASE+64)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 /* Control keys */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 #define KEY_CTRL (KEY_BASE)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 #define KEY_BACKSPACE (KEY_CTRL+0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 #define KEY_DELETE (KEY_CTRL+1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 #define KEY_INSERT (KEY_CTRL+2)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 #define KEY_HOME (KEY_CTRL+3)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 #define KEY_END (KEY_CTRL+4)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 #define KEY_PAGE_UP (KEY_CTRL+5)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 #define KEY_PAGE_DOWN (KEY_CTRL+6)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 #define KEY_ESC (KEY_CTRL+7)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 /* Control keys short name */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 #define KEY_BS KEY_BACKSPACE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 #define KEY_DEL KEY_DELETE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 #define KEY_INS KEY_INSERT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 #define KEY_PGUP KEY_PAGE_UP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 #define KEY_PGDOWN KEY_PAGE_DOWN
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 #define KEY_PGDWN KEY_PAGE_DOWN
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 /* Cursor movement */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 #define KEY_CRSR (KEY_BASE+16)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 #define KEY_RIGHT (KEY_CRSR+0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 #define KEY_LEFT (KEY_CRSR+1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 #define KEY_DOWN (KEY_CRSR+2)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 #define KEY_UP (KEY_CRSR+3)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36
9822
1e761763566c Support for "internet" or "multimedia" keyboards in X11.
albeu
parents: 9380
diff changeset
37 /* XF86 Multimedia keyboard keys */
1e761763566c Support for "internet" or "multimedia" keyboards in X11.
albeu
parents: 9380
diff changeset
38 #define KEY_XF86_BASE (0x100+384)
1e761763566c Support for "internet" or "multimedia" keyboards in X11.
albeu
parents: 9380
diff changeset
39 #define KEY_XF86_PAUSE (KEY_XF86_BASE+1)
1e761763566c Support for "internet" or "multimedia" keyboards in X11.
albeu
parents: 9380
diff changeset
40 #define KEY_XF86_STOP (KEY_XF86_BASE+2)
1e761763566c Support for "internet" or "multimedia" keyboards in X11.
albeu
parents: 9380
diff changeset
41 #define KEY_XF86_PREV (KEY_XF86_BASE+3)
1e761763566c Support for "internet" or "multimedia" keyboards in X11.
albeu
parents: 9380
diff changeset
42 #define KEY_XF86_NEXT (KEY_XF86_BASE+4)
9891
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
43
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
44 /* Keypad keys */
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
45 #define KEY_KEYPAD (KEY_BASE+32)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
46 #define KEY_KP0 (KEY_KEYPAD+0)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
47 #define KEY_KP1 (KEY_KEYPAD+1)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
48 #define KEY_KP2 (KEY_KEYPAD+2)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
49 #define KEY_KP3 (KEY_KEYPAD+3)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
50 #define KEY_KP4 (KEY_KEYPAD+4)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
51 #define KEY_KP5 (KEY_KEYPAD+5)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
52 #define KEY_KP6 (KEY_KEYPAD+6)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
53 #define KEY_KP7 (KEY_KEYPAD+7)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
54 #define KEY_KP8 (KEY_KEYPAD+8)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
55 #define KEY_KP9 (KEY_KEYPAD+9)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
56 #define KEY_KPDEC (KEY_KEYPAD+10)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
57 #define KEY_KPINS (KEY_KEYPAD+11)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
58 #define KEY_KPDEL (KEY_KEYPAD+12)
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 9822
diff changeset
59 #define KEY_KPENTER (KEY_KEYPAD+13)