]> git.sesse.net Git - vlc/blobdiff - include/vlc_keys.h
Add Dump hotkey
[vlc] / include / vlc_keys.h
index f8380806f3c1d76c21fad63baf5c5b668cfead6d..79f8632a9b6144fe299124995ae53955eccc75eb 100644 (file)
@@ -83,7 +83,7 @@
 
 typedef struct key_descriptor_s
 {
-    char *psz_key_string;
+    const char *psz_key_string;
     int i_key_code;
 } key_descriptor_t;
 
@@ -188,7 +188,7 @@ static const struct key_descriptor_s vlc_keys[] =
     { "Media Play Pause", KEY_MEDIA_PLAY_PAUSE }
 };
 
-static inline char *KeyToString( int i_key )
+static inline const char *KeyToString( int i_key )
 {
     unsigned int i = 0;
     for ( i = 0; i < sizeof(vlc_keys) / sizeof(key_descriptor_t); i++ )
@@ -298,3 +298,4 @@ static inline int StringToKey( char *psz_key )
 #define ACTIONID_UNCROP_BOTTOM         77
 #define ACTIONID_CROP_RIGHT            78
 #define ACTIONID_UNCROP_RIGHT          79
+#define ACTIONID_DUMP                  80