[vlc-devel] commit: Fix mouse key strings ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu May 21 17:56:43 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 21 18:56:34 2009 +0300| [debe2c6424cd8490554e800daf630e432f175a90] | committer: Rémi Denis-Courmont 

Fix mouse key strings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=debe2c6424cd8490554e800daf630e432f175a90
---

 include/vlc_keys.h |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/include/vlc_keys.h b/include/vlc_keys.h
index 701608e..e52b9be 100644
--- a/include/vlc_keys.h
+++ b/include/vlc_keys.h
@@ -202,8 +202,6 @@ 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 },
     { "Browser Back", KEY_BROWSER_BACK },
     { "Browser Forward", KEY_BROWSER_FORWARD },
     { "Browser Refresh", KEY_BROWSER_REFRESH },
@@ -217,7 +215,11 @@ static const struct key_descriptor_s vlc_keys[] =
     { "Media Next Track", KEY_MEDIA_NEXT_TRACK },
     { "Media Prev Track", KEY_MEDIA_PREV_TRACK },
     { "Media Stop", KEY_MEDIA_STOP },
-    { "Media Play Pause", KEY_MEDIA_PLAY_PAUSE }
+    { "Media Play Pause", KEY_MEDIA_PLAY_PAUSE },
+    { "Mouse Wheel Up", KEY_MOUSEWHEELUP },
+    { "Mouse Wheel Down", KEY_MOUSEWHEELDOWN },
+    { "Mouse Wheel Left", KEY_MOUSEWHEELLEFT },
+    { "Mouse Wheel Right", KEY_MOUSEWHEELRIGHT },
 };
 enum { vlc_num_keys=sizeof(vlc_keys)/sizeof(struct key_descriptor_s) };
 




More information about the vlc-devel mailing list