annotate libvo/wskeys.h @ 28835:6f5824a39ada

Make pausing_keep_force the default for the set_mouse_pos and key_down_event - different behaviour is unlikely to make sense but it is better to handle this in input.c instead of adding special cases to mplayer.c and being able to override the default behaviour at least should not hurt.
author reimar
date Sat, 07 Mar 2009 13:25:55 +0000
parents 7681eab10aea
children 8966911e5233
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28446
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
1 /*
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
2 * This file is part of MPlayer.
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
3 *
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
5 * it under the terms of the GNU General Public License as published by
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
7 * (at your option) any later version.
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
8 *
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
12 * GNU General Public License for more details.
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
13 *
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
14 * You should have received a copy of the GNU General Public License along
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
7681eab10aea Add standard license headers, unify header formatting.
diego
parents: 28134
diff changeset
17 */
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
19 #ifndef MPLAYER_WSKEYS_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
20 #define MPLAYER_WSKEYS_H
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 #define wsUp 0x52 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 #define wsDown 0x54 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 #define wsLeft 0x51 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 #define wsRight 0x53 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 #define wsLeftCtrl 0xe3 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 #define wsRightCtrl 0xe4 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 #define wsLeftAlt 0xe9 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 #define wsRightAlt 0x7e + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 #define wsLeftShift 0xe1 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 #define wsRightShift 0xe2 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 #define wsEnter 0x0d + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 #define wsBackSpace 0x08 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 #define wsCapsLock 0xe5 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 #define wsTab 0x09 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 #define wsF1 0xbe + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 #define wsF2 0xbf + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 #define wsF3 0xc0 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 #define wsF4 0xc1 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 #define wsF5 0xc2 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 #define wsF6 0xc3 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 #define wsF7 0xc4 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 #define wsF8 0xc5 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 #define wsF9 0xc6 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 #define wsF10 0xc7 + 256
11793
faa111ce1315 Support binding F11 and F12 keys to commands.
diego
parents: 10936
diff changeset
46 #define wsF11 0xc8 + 256
faa111ce1315 Support binding F11 and F12 keys to commands.
diego
parents: 10936
diff changeset
47 #define wsF12 0xc9 + 256
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 #define wsInsert 0x63 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 #define wsDelete 0xff + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 #define wsHome 0x50 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 #define wsEnd 0x57 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 #define wsPageUp 0x55 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 #define wsPageDown 0x56 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54 #define wsNumLock 0x7f + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 #define wsEscape 0x1b + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 #define wsGrayEnter 0x8d + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 #define wsGrayPlus 0xab + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 #define wsGrayMinus 0xad + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59 #define wsGrayMul 0xaa + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 #define wsGrayDiv 0xaf + 256
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: 3490
diff changeset
61 #define wsGrayDecimal 0xae + 256
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: 3490
diff changeset
62 #define wsGray0 0xb0 + 256
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: 3490
diff changeset
63 #define wsGray1 0xb1 + 256
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: 3490
diff changeset
64 #define wsGray2 0xb2 + 256
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: 3490
diff changeset
65 #define wsGray3 0xb3 + 256
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: 3490
diff changeset
66 #define wsGray4 0xb4 + 256
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: 3490
diff changeset
67 #define wsGray5 0xb5 + 256
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: 3490
diff changeset
68 #define wsGray6 0xb6 + 256
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: 3490
diff changeset
69 #define wsGray7 0xb7 + 256
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: 3490
diff changeset
70 #define wsGray8 0xb8 + 256
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: 3490
diff changeset
71 #define wsGray9 0xb9 + 256
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: 3490
diff changeset
72 #define wsGrayHome 0x95 + 256
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: 3490
diff changeset
73 #define wsGrayLeft 0x96 + 256
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: 3490
diff changeset
74 #define wsGrayUp 0x97 + 256
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: 3490
diff changeset
75 #define wsGrayRight 0x98 + 256
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: 3490
diff changeset
76 #define wsGrayDown 0x99 + 256
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: 3490
diff changeset
77 #define wsGrayPgUp 0x9a + 256
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: 3490
diff changeset
78 #define wsGrayPgDn 0x9b + 256
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: 3490
diff changeset
79 #define wsGrayEnd 0x9c + 256
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: 3490
diff changeset
80 #define wsGray5Dup 0x9d + 256
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: 3490
diff changeset
81 #define wsGrayInsert 0x9e + 256
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: 3490
diff changeset
82 #define wsGrayDelete 0x9f + 256
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
83
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
84 #endif /* MPLAYER_WSKEYS_H */