[vlc-commits] keys: define Print and Pause keys

Rémi Denis-Courmont git at videolan.org
Wed Nov 6 21:40:20 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Nov  6 22:38:37 2013 +0200| [30bf97c789f19c1f93755c1e3c3461087254ed41] | committer: Rémi Denis-Courmont

keys: define Print and Pause keys

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

 include/vlc_keys.h |    2 ++
 src/config/keys.c  |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/include/vlc_keys.h b/include/vlc_keys.h
index 62a52fd..aafa589 100644
--- a/include/vlc_keys.h
+++ b/include/vlc_keys.h
@@ -65,6 +65,8 @@
 #define KEY_MENU             0x00370000
 #define KEY_PAGEUP           0x00390000
 #define KEY_PAGEDOWN         0x003A0000
+#define KEY_PRINT            0x003B0000
+#define KEY_PAUSE            0x003D0000
 
 #define KEY_BROWSER_BACK     0x003F0000
 #define KEY_BROWSER_FORWARD  0x00400000
diff --git a/src/config/keys.c b/src/config/keys.c
index 7fcbc37..07c0d75 100644
--- a/src/config/keys.c
+++ b/src/config/keys.c
@@ -108,6 +108,8 @@ static const struct key_descriptor_s vlc_keys[] =
     { N_("Mouse Wheel Up"),    KEY_MOUSEWHEELUP      },
     { N_("Page Down"),         KEY_PAGEDOWN          },
     { N_("Page Up"),           KEY_PAGEUP            },
+    { N_("Pause"),             KEY_PAUSE             },
+    { N_("Print"),             KEY_PRINT             },
     { N_("Right"),             KEY_RIGHT             },
     { N_("Space"),             ' '                   },
     { N_("Tab"),               KEY_TAB               },



More information about the vlc-commits mailing list