annotate gui/wm/wskeys.h @ 27850:d960bc3cddb1

lavc tscc decoder now also depends on zlib
author reimar
date Sun, 02 Nov 2008 18:25:44 +0000
parents b0a7b35b78d2
children e559de297578
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26458
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
1 /*
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
2 * This file is part of MPlayer.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
3 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
5 * it under the terms of the GNU General Public License as published by
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
7 * (at your option) any later version.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
8 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
12 * GNU General Public License for more details.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
13 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
14 * You should have received a copy of the GNU General Public License along
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
17 */
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
19 #ifndef MPLAYER_GUI_WSKEYS_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
20 #define MPLAYER_GUI_WSKEYS_H
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
21
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
22 #define wsKeyNone -1
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
23
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
24 #define wsosbrackets '['
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
25 #define wscsbrackets ']'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
26
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
27 #define wsq 'q'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
28 #define wsa 'a'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
29 #define wsz 'z'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
30 #define wsw 'w'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
31 #define wss 's'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
32 #define wsx 'x'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
33 #define wse 'e'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
34 #define wsd 'd'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
35 #define wsr 'r'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
36 #define wsf 'f'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
37 #define wsv 'v'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
38 #define wst 't'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
39 #define wsg 'g'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
40 #define wsb 'b'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
41 #define wsy 'y'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
42 #define wsh 'h'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
43 #define wsn 'n'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
44 #define wsu 'u'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
45 #define wsj 'j'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
46 #define wsm 'm'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
47 #define wsi 'i'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
48 #define wsk 'k'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
49 #define wso 'o'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
50 #define wsl 'l'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
51 #define wsp 'p'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
52 #define wsc 'c'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
53
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
54 #define wsQ 'Q'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
55 #define wsA 'A'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
56 #define wsZ 'Z'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
57 #define wsW 'W'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
58 #define wsS 'S'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
59 #define wsX 'X'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
60 #define wsE 'E'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
61 #define wsD 'D'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
62 #define wsR 'R'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
63 #define wsF 'F'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
64 #define wsV 'V'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
65 #define wsT 'T'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
66 #define wsG 'G'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
67 #define wsB 'B'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
68 #define wsY 'Y'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
69 #define wsH 'H'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
70 #define wsN 'N'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
71 #define wsU 'U'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
72 #define wsJ 'J'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
73 #define wsM 'M'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
74 #define wsI 'I'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
75 #define wsK 'K'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
76 #define wsO 'O'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
77 #define wsL 'L'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
78 #define wsP 'P'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
79 #define wsC 'C'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
80
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
81 #define ws0 '0'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
82 #define ws1 '1'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
83 #define ws2 '2'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
84 #define ws3 '3'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
85 #define ws4 '4'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
86 #define ws5 '5'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
87 #define ws6 '6'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
88 #define ws7 '7'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
89 #define ws8 '8'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
90 #define ws9 '9'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
91
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
92 #define wsSpace ' '
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
93 #define wsMinus '-'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
94 #define wsPlus '+'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
95 #define wsMul '*'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
96 #define wsDiv '/'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
97 #define wsLess '<'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
98 #define wsMore '>'
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
99
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
100 #define wsUp 0x52 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
101 #define wsDown 0x54 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
102 #define wsLeft 0x51 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
103 #define wsRight 0x53 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
104 #define wsLeftCtrl 0xe3 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
105 #define wsRightCtrl 0xe4 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
106 #define wsLeftAlt 0xe9 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
107 #define wsRightAlt 0x7e + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
108 #define wsLeftShift 0xe1 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
109 #define wsRightShift 0xe2 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
110 #define wsEnter 0x0d + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
111 #define wsBackSpace 0x08 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
112 #define wsCapsLock 0xe5 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
113 #define wsTab 0x09 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
114 #define wsF1 0xbe + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
115 #define wsF2 0xbf + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
116 #define wsF3 0xc0 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
117 #define wsF4 0xc1 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
118 #define wsF5 0xc2 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
119 #define wsF6 0xc3 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
120 #define wsF7 0xc4 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
121 #define wsF8 0xc5 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
122 #define wsF9 0xc6 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
123 #define wsF10 0xc7 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
124 #define wsF11 0xc8 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
125 #define wsF12 0xc9 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
126 #define wsInsert 0x63 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
127 #define wsDelete 0xff + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
128 #define wsHome 0x50 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
129 #define wsEnd 0x57 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
130 #define wsPageUp 0x55 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
131 #define wsPageDown 0x56 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
132 #define wsNumLock 0x7f + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
133 #define wsEscape 0x1b + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
134 #define wsGrayEnter 0x8d + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
135 #define wsGrayPlus 0xab + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
136 #define wsGrayMinus 0xad + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
137 #define wsGrayMul 0xaa + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
138 #define wsGrayDiv 0xaf + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
139
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
140 #define wsGrayInsert 0xb0 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
141 #define wsGrayDelete 0xae + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
142 #define wsGrayEnd 0xb1 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
143 #define wsGrayDown 0xb2 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
144 #define wsGrayPageDown 0xb3 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
145 #define wsGrayLeft 0xb4 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
146 #define wsGray5 0xb5 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
147 #define wsGrayRight 0xb6 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
148 #define wsGrayHome 0xb7 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
149 #define wsGrayUp 0xb8 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
150 #define wsGrayPageUp 0xb9 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
151
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
152 //Keys for multimedia keyboard
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
153
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
154 #define wsXF86LowerVolume 0x11 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
155 #define wsXF86RaiseVolume 0x13 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
156 #define wsXF86Mute 0x12 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
157 #define wsXF86Play 0x14 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
158 #define wsXF86Stop 0x15 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
159 #define wsXF86Prev 0x16 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
160 #define wsXF86Next 0x17 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
161 #define wsXF86Media 0x32 + 256
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
162
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
163 #define wsXFMMPrev 0x98
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
164 #define wsXFMMStop 0xb1
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
165 #define wsXFMMPlay 0x95
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
166 #define wsXFMMNext 0x93
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
167 #define wsXFMMVolUp 0xad
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
168 #define wsXFMMVolDown 0xa6
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
169 #define wsXFMMMute 0x99
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
170
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
171 #define wsKeyNumber 130
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
172
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
173 typedef struct
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
174 {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
175 int code;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
176 const char * name;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
177 } TwsKeyNames;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
178
25244
0798448dcbea Make wsKeyNames array const
reimar
parents: 23689
diff changeset
179 extern const TwsKeyNames wsKeyNames[ wsKeyNumber ];
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
180
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
181 #endif /* MPLAYER_GUI_WSKEYS_H */