[vlc-devel] [PATCH] vlc_keys: define mouse's middle, 4 & 5 buttons.
Francois Cartegnie
fcvlcdev at free.fr
Fri Feb 24 19:28:52 CET 2012
The same way as Wheel left/right, allow to use
those buttons for GUI shortcuts.
---
include/vlc_keys.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/vlc_keys.h b/include/vlc_keys.h
index f08243b..0c23672 100644
--- a/include/vlc_keys.h
+++ b/include/vlc_keys.h
@@ -81,6 +81,10 @@
#define KEY_MEDIA_STOP 0x004B0000
#define KEY_MEDIA_PLAY_PAUSE 0x004C0000
+#define KEY_MOUSEBUTTON_MID 0x00ED0000
+#define KEY_MOUSEBUTTON_X1 0x00EE0000
+#define KEY_MOUSEBUTTON_X2 0x00EF0000
+
#define KEY_MOUSEWHEELUP 0x00F00000
#define KEY_MOUSEWHEELDOWN 0x00F10000
#define KEY_MOUSEWHEELLEFT 0x00F20000
--
1.7.6
More information about the vlc-devel
mailing list