changeset 27069:1a6930933140

Keep old dvdnav sub-command options for a while in order not to break slave-mode API too suddenly.
author ben
date Fri, 20 Jun 2008 18:54:38 +0000
parents d7e0e33c546f
children e538f3e34cd0
files command.c
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/command.c	Thu Jun 19 18:51:42 2008 +0000
+++ b/command.c	Fri Jun 20 18:54:38 2008 +0000
@@ -2294,6 +2294,19 @@
   { "select",   MP_CMD_DVDNAV_SELECT          },
   { "prev",     MP_CMD_DVDNAV_PREVMENU        },
   { "mouse",    MP_CMD_DVDNAV_MOUSECLICK      },
+
+  /*
+   * keep old dvdnav sub-command options for a while in order not to
+   *  break slave-mode API too suddenly.
+   */
+  { "1",        MP_CMD_DVDNAV_UP              },
+  { "2",        MP_CMD_DVDNAV_DOWN            },
+  { "3",        MP_CMD_DVDNAV_LEFT            },
+  { "4",        MP_CMD_DVDNAV_RIGHT           },
+  { "5",        MP_CMD_DVDNAV_MENU            },
+  { "6",        MP_CMD_DVDNAV_SELECT          },
+  { "7",        MP_CMD_DVDNAV_PREVMENU        },
+  { "8",        MP_CMD_DVDNAV_MOUSECLICK      },
   { NULL,       0                             }
 };
 #endif