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