annotate input/mouse.h @ 33315:d3ab6eb6b94b

Remove code with no purpose. Also fixes compiler warning about variable that is assigned but never used.
author reimar
date Sat, 07 May 2011 18:59:15 +0000
parents d63bf64a2094
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28112
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
1 /*
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
2 * This file is part of MPlayer.
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
3 *
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
5 * it under the terms of the GNU General Public License as published by
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
7 * (at your option) any later version.
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
8 *
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
12 * GNU General Public License for more details.
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
13 *
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
14 * You should have received a copy of the GNU General Public License along
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
17 */
142c53391eb7 Add standard GPL license header.
diego
parents: 26029
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
19 #ifndef MPLAYER_MOUSE_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
20 #define MPLAYER_MOUSE_H
4589
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
21
4657
610a11e4db36 Added key autorepeat support. Options to enable/disable joystick and lirc
albeu
parents: 4589
diff changeset
22 #define MOUSE_BASE ((0x100+256)|MP_NO_REPEAT_KEY)
4589
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
23 #define MOUSE_BTN0 (MOUSE_BASE+0)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
24 #define MOUSE_BTN1 (MOUSE_BASE+1)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
25 #define MOUSE_BTN2 (MOUSE_BASE+2)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
26 #define MOUSE_BTN3 (MOUSE_BASE+3)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
27 #define MOUSE_BTN4 (MOUSE_BASE+4)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
28 #define MOUSE_BTN5 (MOUSE_BASE+5)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
29 #define MOUSE_BTN6 (MOUSE_BASE+6)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
30 #define MOUSE_BTN7 (MOUSE_BASE+7)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
31 #define MOUSE_BTN8 (MOUSE_BASE+8)
4ce20c55a18a Added support for key combination and mouse buttons key code
albeu
parents:
diff changeset
32 #define MOUSE_BTN9 (MOUSE_BASE+9)
33304
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
33 #define MOUSE_BTN10 (MOUSE_BASE+10)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
34 #define MOUSE_BTN11 (MOUSE_BASE+11)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
35 #define MOUSE_BTN12 (MOUSE_BASE+12)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
36 #define MOUSE_BTN13 (MOUSE_BASE+13)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
37 #define MOUSE_BTN14 (MOUSE_BASE+14)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
38 #define MOUSE_BTN15 (MOUSE_BASE+15)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
39 #define MOUSE_BTN16 (MOUSE_BASE+16)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
40 #define MOUSE_BTN17 (MOUSE_BASE+17)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
41 #define MOUSE_BTN18 (MOUSE_BASE+18)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
42 #define MOUSE_BTN19 (MOUSE_BASE+19)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
43 #define MOUSE_BTN_LAST MOUSE_BTN19
16974
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
44
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
45 #define MOUSE_BASE_DBL (0x300|MP_NO_REPEAT_KEY)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
46 #define MOUSE_BTN0_DBL (MOUSE_BASE_DBL+0)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
47 #define MOUSE_BTN1_DBL (MOUSE_BASE_DBL+1)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
48 #define MOUSE_BTN2_DBL (MOUSE_BASE_DBL+2)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
49 #define MOUSE_BTN3_DBL (MOUSE_BASE_DBL+3)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
50 #define MOUSE_BTN4_DBL (MOUSE_BASE_DBL+4)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
51 #define MOUSE_BTN5_DBL (MOUSE_BASE_DBL+5)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
52 #define MOUSE_BTN6_DBL (MOUSE_BASE_DBL+6)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
53 #define MOUSE_BTN7_DBL (MOUSE_BASE_DBL+7)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
54 #define MOUSE_BTN8_DBL (MOUSE_BASE_DBL+8)
62d979592493 Add double-click mouse events.
joey
parents: 4657
diff changeset
55 #define MOUSE_BTN9_DBL (MOUSE_BASE_DBL+9)
33304
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
56 #define MOUSE_BTN10_DBL (MOUSE_BASE_DBL+10)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
57 #define MOUSE_BTN11_DBL (MOUSE_BASE_DBL+11)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
58 #define MOUSE_BTN12_DBL (MOUSE_BASE_DBL+12)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
59 #define MOUSE_BTN13_DBL (MOUSE_BASE_DBL+13)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
60 #define MOUSE_BTN14_DBL (MOUSE_BASE_DBL+14)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
61 #define MOUSE_BTN15_DBL (MOUSE_BASE_DBL+15)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
62 #define MOUSE_BTN16_DBL (MOUSE_BASE_DBL+16)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
63 #define MOUSE_BTN17_DBL (MOUSE_BASE_DBL+17)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
64 #define MOUSE_BTN18_DBL (MOUSE_BASE_DBL+18)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
65 #define MOUSE_BTN19_DBL (MOUSE_BASE_DBL+19)
d63bf64a2094 Support up to 20 mouse buttons, there really seem to be input devices
reimar
parents: 28112
diff changeset
66 #define MOUSE_BTN_LAST_DBL MOUSE_BTN19_DBL
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 16974
diff changeset
67
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
68 #endif /* MPLAYER_MOUSE_H */