annotate osdep/keycodes.h @ 35007:36997c82536f

Cosmetics: replace tab.
author reimar
date Sat, 18 Aug 2012 15:59:49 +0000
parents c5f6bc8ae2b4
children 6ac59489c815
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_BASE 0x100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27
34335
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
28 enum {
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
29 KEY_TAB = 9,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
30 KEY_ENTER = 13,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
31 /* Control keys */
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
32 KEY_BACKSPACE = KEY_BASE,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
33 KEY_DELETE,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
34 KEY_INSERT,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
35 KEY_HOME,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
36 KEY_END,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
37 KEY_PAGE_UP,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
38 KEY_PAGE_DOWN,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
39 KEY_ESC,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
40 /* Cursor movement */
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
41 KEY_RIGHT = KEY_BASE + 16,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
42 KEY_LEFT,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
43 KEY_DOWN,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
44 KEY_UP,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
45 /* Keypad keys */
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
46 KEY_KP0 = KEY_BASE + 32,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
47 KEY_KP1,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
48 KEY_KP2,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
49 KEY_KP3,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
50 KEY_KP4,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
51 KEY_KP5,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
52 KEY_KP6,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
53 KEY_KP7,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
54 KEY_KP8,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
55 KEY_KP9,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
56 KEY_KPDEC,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
57 KEY_KPINS,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
58 KEY_KPDEL,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
59 KEY_KPENTER,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
60 /* Key combination keys */
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
61 KEY_CTRL = KEY_BASE + 48,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
62 /* Function keys */
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
63 KEY_F = KEY_BASE + 64,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
64 /* Multimedia keyboard/remote keys */
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
65 KEY_POWER = KEY_BASE+384,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
66 KEY_MENU,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
67 KEY_PLAY,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
68 KEY_PAUSE,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
69 KEY_PLAYPAUSE,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
70 KEY_STOP,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
71 KEY_FORWARD,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
72 KEY_REWIND,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
73 KEY_NEXT,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
74 KEY_PREV,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
75 KEY_VOLUME_UP,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
76 KEY_VOLUME_DOWN,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
77 KEY_MUTE,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
78 /* Special internal/virtual keys */
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
79 KEY_CLOSE_WIN = 0x1000,
c5f6bc8ae2b4 Use an enum to define keycodes and fix CTRL and backspace key having
reimar
parents: 34270
diff changeset
80 };
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
81
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
82 /* Control keys short name */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
83 #define KEY_BS KEY_BACKSPACE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
84 #define KEY_DEL KEY_DELETE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
85 #define KEY_INS KEY_INSERT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
86 #define KEY_PGUP KEY_PAGE_UP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
87 #define KEY_PGDOWN KEY_PAGE_DOWN
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
88 #define KEY_PGDWN KEY_PAGE_DOWN
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
89
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
90 #endif /* MPLAYER_KEYCODES_H */