summaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-13 21:10:20 +0200
committerwm4 <wm4@nowhere>2012-10-14 22:28:51 +0200
commit187cbd7aa7a74bf1596b3501c095920441f76dc0 (patch)
treeeee5f51458440a74076d81e5b908cfd858a92933 /options.h
parentad5bc380e2605108398d3815ad10adcbebf3913b (diff)
downloadmpv-187cbd7aa7a74bf1596b3501c095920441f76dc0.tar.bz2
mpv-187cbd7aa7a74bf1596b3501c095920441f76dc0.tar.xz
input: add input test mode
In input test mode, key bindings won't be executed, but are shown on the OSD. The OSD includes various information, such as the name of the key, the command itself, whether it's builtin, and the config file location it was defined. The input test mode can be enabled with "--input=test". No effort is spent trying to react to key bindings that normally exit the player; they are treated just like any other binding.
Diffstat (limited to 'options.h')
-rw-r--r--options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.h b/options.h
index 090ea50535..d2404bb85a 100644
--- a/options.h
+++ b/options.h
@@ -160,6 +160,7 @@ typedef struct MPOpts {
int use_lircc;
int use_ar; // apple remote
int default_bindings;
+ int test;
} input;
struct encode_output_conf {