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

hotkeys: implement navigation actions

parent 72499a50
......@@ -576,7 +576,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
break;
}
/* Input navigation (DVD & MKV) */
/* Input navigation */
case ACTIONID_TITLE_PREV:
if( p_input )
var_TriggerCallback( p_input, "prev-title" );
......@@ -597,6 +597,15 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
if( p_input )
var_SetInteger( p_input, "title 0", 2 );
break;
case ACTIONID_NAV_ACTIVATE:
case ACTIONID_NAV_UP:
case ACTIONID_NAV_DOWN:
case ACTIONID_NAV_LEFT:
case ACTIONID_NAV_RIGHT:
if( p_input )
input_Control( p_input, i_action - ACTIONID_NAV_ACTIVATE
+ INPUT_NAV_ACTIVATE, NULL );
break;
/* Video Output actions */
case ACTIONID_SNAPSHOT:
......
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