summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-10 10:25:48 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-10 10:25:48 +0000
commitcaa3c79989358bb4a636687b7d7e78ce5ab69075 (patch)
treeb731c7eaa9b624f9cc0ebc079443da5cebd64013 /input
parent5b2e0d6411e33048d5cdc3e98b0fe424d1bebcf7 (diff)
downloadmpv-caa3c79989358bb4a636687b7d7e78ce5ab69075.tar.bz2
mpv-caa3c79989358bb4a636687b7d7e78ce5ab69075.tar.xz
permit to select previous dvdnav menu, in the order chapter->title->root
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19783 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c1
-rw-r--r--input/input.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 8ee628b76f..79e211705e 100644
--- a/input/input.c
+++ b/input/input.c
@@ -317,6 +317,7 @@ static mp_cmd_bind_t def_cmd_binds[] = {
{ { KEY_KP6, 0 }, "dvdnav 4" }, // right
{ { KEY_KP5, 0 }, "dvdnav 5" }, // menu
{ { KEY_KPENTER, 0 }, "dvdnav 6" }, // select
+ { { KEY_KP7, 0 }, "dvdnav 7" }, // previous menu
#endif
{ { KEY_RIGHT, 0 }, "seek 10" },
diff --git a/input/input.h b/input/input.h
index df1c964287..dc4da8899d 100644
--- a/input/input.h
+++ b/input/input.h
@@ -113,6 +113,7 @@
#define MP_CMD_DVDNAV_RIGHT 4
#define MP_CMD_DVDNAV_MENU 5
#define MP_CMD_DVDNAV_SELECT 6
+#define MP_CMD_DVDNAV_PREVMENU 7
/// Console commands
#define MP_CMD_CHELP 7000