]> git.sesse.net Git - vlc/blobdiff - include/vlc_keys.h
* ALL: preparing for the 0.7.2-test3 release.
[vlc] / include / vlc_keys.h
index 19f19f1e6bcccdc298393179b47fed512878ab76..f977d22980de893d1d37cabd3c9df8934fd0d50d 100644 (file)
@@ -2,7 +2,7 @@
  * hotkeys.h: keycode defines
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: vlc_keys.h,v 1.9 2003/11/16 22:10:16 sam Exp $
+ * $Id$
  *
  * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
  *
@@ -55,6 +55,8 @@
 #define KEY_PAGEDOWN         0x00180000
 #define KEY_TAB              0x00190000
 #define KEY_BACKSPACE        0x001A0000
+#define KEY_MOUSEWHEELUP     0x001B0000
+#define KEY_MOUSEWHEELDOWN   0x001C0000
 
 #define KEY_ASCII            0x0000007F
 #define KEY_UNSET            0
@@ -105,6 +107,8 @@ static const struct key_descriptor_s vlc_keys[] =
     { "Page Down", KEY_PAGEDOWN },
     { "Tab", KEY_TAB },
     { "Backspace", KEY_BACKSPACE },
+    { "Mouse Wheel Up", KEY_MOUSEWHEELUP },
+    { "Mouse Wheel Down", KEY_MOUSEWHEELDOWN },
     { "a", 'a' },
     { "b", 'b' },
     { "c", 'c' },
@@ -198,3 +202,32 @@ static inline int StringToKey( char *psz_key )
 #define ACTIONID_JUMP_FORWARD_1MIN     21
 #define ACTIONID_JUMP_BACKWARD_5MIN    22
 #define ACTIONID_JUMP_FORWARD_5MIN     23
+#define ACTIONID_POSITION              24
+#define ACTIONID_VOL_MUTE              25
+/* let ACTIONID_SET_BOOMARK* and ACTIONID_PLAY_BOOKMARK* be contiguous */
+#define ACTIONID_SET_BOOKMARK1         26
+#define ACTIONID_SET_BOOKMARK2         27
+#define ACTIONID_SET_BOOKMARK3         28
+#define ACTIONID_SET_BOOKMARK4         29
+#define ACTIONID_SET_BOOKMARK5         30
+#define ACTIONID_SET_BOOKMARK6         31
+#define ACTIONID_SET_BOOKMARK7         32
+#define ACTIONID_SET_BOOKMARK8         33
+#define ACTIONID_SET_BOOKMARK9         34
+#define ACTIONID_SET_BOOKMARK10        35
+#define ACTIONID_PLAY_BOOKMARK1        36
+#define ACTIONID_PLAY_BOOKMARK2        37
+#define ACTIONID_PLAY_BOOKMARK3        38
+#define ACTIONID_PLAY_BOOKMARK4        39
+#define ACTIONID_PLAY_BOOKMARK5        40
+#define ACTIONID_PLAY_BOOKMARK6        41
+#define ACTIONID_PLAY_BOOKMARK7        42
+#define ACTIONID_PLAY_BOOKMARK8        43
+#define ACTIONID_PLAY_BOOKMARK9        44
+#define ACTIONID_PLAY_BOOKMARK10       45
+/* end of contiguous zone */
+#define ACTIONID_SUBDELAY_UP           46
+#define ACTIONID_SUBDELAY_DOWN         47
+#define ACTIONID_HISTORY_BACK          48
+#define ACTIONID_HISTORY_FORWARD       49
+