summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-31 02:15:03 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-31 02:15:03 +0000
commitb872f146e1376187bf19a65b584412ffd0e40560 (patch)
treedac72bd875c731b28e161f7ec034749661aeff0b /input/input.c
parentb03226df692aac696763828610ffb6836b50e548 (diff)
downloadmpv-b872f146e1376187bf19a65b584412ffd0e40560.tar.bz2
mpv-b872f146e1376187bf19a65b584412ffd0e40560.tar.xz
add key_down_eventto slave mode, used to inject key down event with mplayer_put_key
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16324 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index ea667e4794..e37decaeca 100644
--- a/input/input.c
+++ b/input/input.c
@@ -141,6 +141,7 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_GET_VO_FULLSCREEN, "get_vo_fullscreen", 0, { {-1,{0}} } },
{ MP_CMD_GET_SUB_VISIBILITY, "get_sub_visibility", 0, { {-1,{0}} } },
+ { MP_CMD_KEYDOWN_EVENTS, "key_down_event", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
{ 0, NULL, 0, {} }
};