From 15a5422dd2ba18d10c598f91b8cdae86269b2af1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 8 Jul 2013 19:27:45 +0200 Subject: input: allow binding multiple commands to a key Separate the commands with ';'. --- core/input/input.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/input/input.h') diff --git a/core/input/input.h b/core/input/input.h index 2a9b3832c1..f7d69a0de7 100644 --- a/core/input/input.h +++ b/core/input/input.h @@ -87,6 +87,9 @@ enum mp_command_type { /// Video output commands MP_CMD_VO_CMDLINE, + + // Internal + MP_CMD_COMMAND_LIST, // list of sub-commands in args[0].v.p }; #define MP_CMD_MAX_ARGS 10 @@ -128,6 +131,7 @@ struct mp_cmd_arg { float f; double d; char *s; + void *p; } v; }; -- cgit v1.2.3 From c460258f5a85d8d65261b524f23a3608185e58e4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 8 Jul 2013 20:34:26 +0200 Subject: command: add screenshot_to_file command --- core/input/input.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/input/input.h') diff --git a/core/input/input.h b/core/input/input.h index f7d69a0de7..da92efd373 100644 --- a/core/input/input.h +++ b/core/input/input.h @@ -36,6 +36,7 @@ enum mp_command_type { MP_CMD_TV_STEP_NORM, MP_CMD_TV_STEP_CHANNEL_LIST, MP_CMD_SCREENSHOT, + MP_CMD_SCREENSHOT_TO_FILE, MP_CMD_LOADFILE, MP_CMD_LOADLIST, MP_CMD_PLAYLIST_CLEAR, -- cgit v1.2.3