summaryrefslogtreecommitdiffstats
path: root/core/input/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/input/input.c')
-rw-r--r--core/input/input.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/input/input.c b/core/input/input.c
index b883974409..5b9a31866c 100644
--- a/core/input/input.c
+++ b/core/input/input.c
@@ -194,6 +194,13 @@ static const mp_cmd_t mp_cmds[] = {
.v.f = 1 },
}},
+ { MP_CMD_ENABLE_INPUT_SECTION, "enable_section", {
+ ARG_STRING,
+ OARG_CHOICE(0, ({"default", 0},
+ {"exclusive", 1})),
+ }},
+ { MP_CMD_DISABLE_INPUT_SECTION, "disable_section", { ARG_STRING } },
+
{ MP_CMD_AF_SWITCH, "af_switch", { ARG_STRING } },
{ MP_CMD_AF_ADD, "af_add", { ARG_STRING } },
{ MP_CMD_AF_DEL, "af_del", { ARG_STRING } },