Commit e1f4d89e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

LIRC: remove non-working menu

parent d66f3ddc
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_interface.h> #include <vlc_interface.h>
#include <vlc_osd.h>
#include <vlc_keys.h> #include <vlc_keys.h>
#ifdef HAVE_POLL #ifdef HAVE_POLL
...@@ -202,31 +201,6 @@ static void Process( intf_thread_t *p_intf ) ...@@ -202,31 +201,6 @@ static void Process( intf_thread_t *p_intf )
else else
msg_Err( p_intf, "Unknown hotkey '%s'", c ); msg_Err( p_intf, "Unknown hotkey '%s'", c );
} }
else if( !strncmp( "menu ", c, 5) )
{
if( !strncmp( c, "menu on", 7 ) ||
!strncmp( c, "menu show", 9 ))
osd_MenuShow( VLC_OBJECT(p_intf) );
else if( !strncmp( c, "menu off", 8 ) ||
!strncmp( c, "menu hide", 9 ) )
osd_MenuHide( VLC_OBJECT(p_intf) );
else if( !strncmp( c, "menu up", 7 ) )
osd_MenuUp( VLC_OBJECT(p_intf) );
else if( !strncmp( c, "menu down", 9 ) )
osd_MenuDown( VLC_OBJECT(p_intf) );
else if( !strncmp( c, "menu left", 9 ) )
osd_MenuPrev( VLC_OBJECT(p_intf) );
else if( !strncmp( c, "menu right", 10 ) )
osd_MenuNext( VLC_OBJECT(p_intf) );
else if( !strncmp( c, "menu select", 11 ) )
osd_MenuActivate( VLC_OBJECT(p_intf) );
else
{
msg_Err( p_intf, "Please provide one of the following parameters:" );
msg_Err( p_intf, "[on|off|up|down|left|right|select]" );
break;
}
}
else else
{ {
msg_Err( p_intf, "this doesn't appear to be a valid keycombo " msg_Err( p_intf, "this doesn't appear to be a valid keycombo "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment