Mercurial > mplayer.hg
annotate input/mouse.h @ 32892:b5f21d533644
Fix compilation for systems where vorbis encode is split out into
libvorbisenc.
Note that vorbis support will be completely disabled for systems
that use the split libraries but do not have libvorbisenc installed.
That should be ok since there shouldn't be a real need to use libvorbis
for decoding.
author | reimar |
---|---|
date | Sun, 27 Feb 2011 15:25:20 +0000 |
parents | 142c53391eb7 |
children | d63bf64a2094 |
rev | line source |
---|---|
28112 | 1 /* |
2 * This file is part of MPlayer. | |
3 * | |
4 * MPlayer is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * MPlayer is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License along | |
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 */ | |
18 | |
26029 | 19 #ifndef MPLAYER_MOUSE_H |
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) |
16974 | 33 |
34 #define MOUSE_BASE_DBL (0x300|MP_NO_REPEAT_KEY) | |
35 #define MOUSE_BTN0_DBL (MOUSE_BASE_DBL+0) | |
36 #define MOUSE_BTN1_DBL (MOUSE_BASE_DBL+1) | |
37 #define MOUSE_BTN2_DBL (MOUSE_BASE_DBL+2) | |
38 #define MOUSE_BTN3_DBL (MOUSE_BASE_DBL+3) | |
39 #define MOUSE_BTN4_DBL (MOUSE_BASE_DBL+4) | |
40 #define MOUSE_BTN5_DBL (MOUSE_BASE_DBL+5) | |
41 #define MOUSE_BTN6_DBL (MOUSE_BASE_DBL+6) | |
42 #define MOUSE_BTN7_DBL (MOUSE_BASE_DBL+7) | |
43 #define MOUSE_BTN8_DBL (MOUSE_BASE_DBL+8) | |
44 #define MOUSE_BTN9_DBL (MOUSE_BASE_DBL+9) | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
16974
diff
changeset
|
45 |
26029 | 46 #endif /* MPLAYER_MOUSE_H */ |