annotate osdep/keycodes.h @ 33926:6e3f257d7b05

Add disabled feature: noise filter for vo_gl.
author reimar
date Fri, 26 Aug 2011 18:51:51 +0000
parents 0f1b5b68af32
children f1262a8c4958
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28744
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
1 /*
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
2 * KEY code definitions for GyS-TermIO v2.0
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
3 *
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
4 * copyright (C) 1999 A'rpi/ESP-team
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
5 *
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
6 * This file is part of MPlayer.
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
7 *
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
8 * MPlayer is free software; you can redistribute it and/or modify
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
9 * it under the terms of the GNU General Public License as published by
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
11 * (at your option) any later version.
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
12 *
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
13 * MPlayer is distributed in the hope that it will be useful,
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
16 * GNU General Public License for more details.
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
17 *
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
18 * You should have received a copy of the GNU General Public License along
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
19 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
5cfef41a1771 Add standard license headers to files.
diego
parents: 26029
diff changeset
21 */
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
23 #ifndef MPLAYER_KEYCODES_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
24 #define MPLAYER_KEYCODES_H
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 16892
diff changeset
25
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 #define KEY_ENTER 13
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 #define KEY_TAB 9
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 #define KEY_BASE 0x100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 /* Function keys */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 #define KEY_F (KEY_BASE+64)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 /* Control keys */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 #define KEY_CTRL (KEY_BASE)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 #define KEY_BACKSPACE (KEY_CTRL+0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 #define KEY_DELETE (KEY_CTRL+1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 #define KEY_INSERT (KEY_CTRL+2)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 #define KEY_HOME (KEY_CTRL+3)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 #define KEY_END (KEY_CTRL+4)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 #define KEY_PAGE_UP (KEY_CTRL+5)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 #define KEY_PAGE_DOWN (KEY_CTRL+6)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 #define KEY_ESC (KEY_CTRL+7)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 /* Control keys short name */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 #define KEY_BS KEY_BACKSPACE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 #define KEY_DEL KEY_DELETE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 #define KEY_INS KEY_INSERT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 #define KEY_PGUP KEY_PAGE_UP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 #define KEY_PGDOWN KEY_PAGE_DOWN
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 #define KEY_PGDWN KEY_PAGE_DOWN
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 /* Cursor movement */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54 #define KEY_CRSR (KEY_BASE+16)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 #define KEY_RIGHT (KEY_CRSR+0)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 #define KEY_LEFT (KEY_CRSR+1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 #define KEY_DOWN (KEY_CRSR+2)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 #define KEY_UP (KEY_CRSR+3)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59
16892
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
60 /* Multimedia keyboard/remote keys */
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
61 #define KEY_MM_BASE (0x100+384)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
62 #define KEY_POWER (KEY_MM_BASE+0)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
63 #define KEY_MENU (KEY_MM_BASE+1)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
64 #define KEY_PLAY (KEY_MM_BASE+2)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
65 #define KEY_PAUSE (KEY_MM_BASE+3)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
66 #define KEY_PLAYPAUSE (KEY_MM_BASE+4)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
67 #define KEY_STOP (KEY_MM_BASE+5)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
68 #define KEY_FORWARD (KEY_MM_BASE+6)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
69 #define KEY_REWIND (KEY_MM_BASE+7)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
70 #define KEY_NEXT (KEY_MM_BASE+8)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
71 #define KEY_PREV (KEY_MM_BASE+9)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
72 #define KEY_VOLUME_UP (KEY_MM_BASE+10)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
73 #define KEY_VOLUME_DOWN (KEY_MM_BASE+11)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
74 #define KEY_MUTE (KEY_MM_BASE+12)
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 28744
diff changeset
75
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
76 /* 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
77 #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
78 #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
79 #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
80 #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
81 #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
82 #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
83 #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
84 #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
85 #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
86 #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
87 #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
88 #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
89 #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
90 #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
91 #define KEY_KPENTER (KEY_KEYPAD+13)
16892
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
92
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
93 /* Special keys */
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
94 #define KEY_INTERN (0x1000)
3470c810527b libvo input cleanup: remove the dependency on libinput,
albeu
parents: 9891
diff changeset
95 #define KEY_CLOSE_WIN (KEY_INTERN+0)
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 16892
diff changeset
96
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
97 #endif /* MPLAYER_KEYCODES_H */