From 3cfbe810383d8efd04e8c0b3ad47cfe73f69ca97 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 6 Nov 2013 00:08:38 +0100 Subject: input: remove unused key_down_event command There's no real use-case for this, and is wasn't documented (didn't even appear on the "undocumented commands" list). --- mpvcore/player/command.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mpvcore/player/command.c') diff --git a/mpvcore/player/command.c b/mpvcore/player/command.c index 05369470ff..be34d4e8f5 100644 --- a/mpvcore/player/command.c +++ b/mpvcore/player/command.c @@ -2940,10 +2940,6 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) #endif break; - case MP_CMD_KEYDOWN_EVENTS: - mp_input_put_key(mpctx->input, cmd->args[0].v.i); - break; - case MP_CMD_ENABLE_INPUT_SECTION: mp_input_enable_section(mpctx->input, cmd->args[0].v.s, cmd->args[1].v.i == 1 ? MP_INPUT_EXCLUSIVE : 0); -- cgit v1.2.3