]> git.sesse.net Git - vlc/blobdiff - include/vlc_keys.h
PulseAudio: use existing helper
[vlc] / include / vlc_keys.h
index eae13be7fba9045661a5e8621ff734b79ef0e1b9..01c59b06690954f78b4309c93f87739cfcbd50e5 100644 (file)
@@ -86,7 +86,8 @@
 #define KEY_MOUSEWHEELLEFT   0x00F20000
 #define KEY_MOUSEWHEELRIGHT  0x00F30000
 
-VLC_EXPORT( char *, KeyToString, (uint_fast32_t i_key) ) LIBVLC_USED;
+VLC_EXPORT( char *, vlc_keycode2str, (uint_fast32_t i_key) ) LIBVLC_USED;
+VLC_EXPORT( uint_fast32_t, vlc_str2keycode, (const char *str) ) LIBVLC_USED;
 
 typedef enum vlc_key {
     ACTIONID_NONE = 0,
@@ -206,8 +207,6 @@ VLC_EXPORT( vlc_key_t, vlc_GetActionId, (const char *psz_key) ) LIBVLC_USED;
 struct hotkey
 {
     const char *psz_action;
-    vlc_key_t i_action;
-    uint_fast32_t i_key;
 };
 
 #endif