#define KEY_MOUSEWHEELRIGHT 0x00F30000
VLC_EXPORT( char *, KeyToString, (uint_fast32_t i_key) ) LIBVLC_USED;
-VLC_EXPORT( uint_fast32_t, StringToKey, (char *psz_key) ) LIBVLC_USED;
typedef enum vlc_key {
ACTIONID_NONE = 0,
return NULL;
}
-uint_fast32_t StringToKey (char *name)
-{
- for (size_t i = 0; i < vlc_num_keys; i++)
- if (!strcmp (vlc_keys[i].psz_key_string, name))
- return vlc_keys[i].i_key_code;
-
- return cp_utf8 (name);
-}
-
uint_fast32_t ConfigStringToKey (const char *name)
{
uint_fast32_t mods = 0;