summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/cmd_list.c')
-rw-r--r--input/cmd_list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index ec6b6f936a..c5249eb6f4 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -203,6 +203,9 @@ const struct mp_cmd_def mp_cmds[] = {
OARG_CHOICE(0, ({"single", 0},
{"double", 1})),
}},
+ { MP_CMD_KEYPRESS, "keypress", { ARG_STRING } },
+ { MP_CMD_KEYDOWN, "keydown", { ARG_STRING } },
+ { MP_CMD_KEYUP, "keyup", { OARG_STRING("") } },
{ MP_CMD_AUDIO_ADD, "audio-add", { ARG_STRING,
OARG_CHOICE(0, ({"select", 0}, {"auto", 1}, {"cached", 2})),