summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-24 16:48:34 +0100
committerwm4 <wm4@nowhere>2014-11-24 16:48:34 +0100
commitd33ae93b897bc407829c5f3c8b2000a7c31d37bd (patch)
tree2bcf497162349102f5bc002f50e66e53fa291f43 /input/cmd_list.h
parent0c5fd5a04719a6a7ae63df40bf2f9cac27b14862 (diff)
downloadmpv-d33ae93b897bc407829c5f3c8b2000a7c31d37bd.tar.bz2
mpv-d33ae93b897bc407829c5f3c8b2000a7c31d37bd.tar.xz
input: simplify
Diffstat (limited to 'input/cmd_list.h')
-rw-r--r--input/cmd_list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/cmd_list.h b/input/cmd_list.h
index 6705d3f803..bcaaf08b6e 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -31,6 +31,7 @@ struct mp_cmd_def {
const char *name; // user-visible name (as used in input.conf)
const struct m_option args[MP_CMD_MAX_ARGS];
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
};