summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'input/cmd_list.h')
-rw-r--r--input/cmd_list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/input/cmd_list.h b/input/cmd_list.h
index 404df462f4..cf881af2bb 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -32,6 +32,7 @@ struct mp_cmd_def {
bool allow_auto_repeat; // react to repeated key events
bool on_updown; // always emit it on both up and down key events
bool vararg; // last argument can be given 0 to multiple times
+ bool scalable;
};
extern const struct mp_cmd_def mp_cmds[];
@@ -131,6 +132,8 @@ bool mp_input_is_abort_cmd(struct mp_cmd *cmd);
bool mp_input_is_repeatable_cmd(struct mp_cmd *cmd);
+bool mp_input_is_scalable_cmd(struct mp_cmd *cmd);
+
struct bstr;
bool mp_replace_legacy_cmd(void *talloc_ctx, struct bstr *s);