From b578d8ccbf2400df189987093955b29051fd7802 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Tue, 19 Sep 2006 23:50:21 +0000 Subject: introduced new MP_CMD_DVDNAV_MOUSECLICK command (bound to mouse0); it's used to activate the button corresponding to the last mouse position. This is a workaround against possibly buggy implementation of upper_lower/upper_button_select() and friends; will be removed when possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19918 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 2 +- input/input.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'input') diff --git a/input/input.c b/input/input.c index 6d05e8f44e..f2b5a8399b 100644 --- a/input/input.c +++ b/input/input.c @@ -317,7 +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 - { { MOUSE_BTN0, 0 }, "dvdnav 6" }, //select + { { MOUSE_BTN0, 0 }, "dvdnav 8" }, //select { { KEY_KP7, 0 }, "dvdnav 7" }, // previous menu #endif diff --git a/input/input.h b/input/input.h index f44d5de7c1..f220a0889b 100644 --- a/input/input.h +++ b/input/input.h @@ -113,6 +113,7 @@ #define MP_CMD_DVDNAV_MENU 5 #define MP_CMD_DVDNAV_SELECT 6 #define MP_CMD_DVDNAV_PREVMENU 7 +#define MP_CMD_DVDNAV_MOUSECLICK 8 /// Console commands #define MP_CMD_CHELP 7000 -- cgit v1.2.3