diff options
author | wm4 <wm4@nowhere> | 2012-10-13 21:10:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-14 22:28:51 +0200 |
commit | 187cbd7aa7a74bf1596b3501c095920441f76dc0 (patch) | |
tree | eee5f51458440a74076d81e5b908cfd858a92933 /input/input.h | |
parent | ad5bc380e2605108398d3815ad10adcbebf3913b (diff) |
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 'input/input.h')
-rw-r--r-- | input/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.h b/input/input.h index 4bd68cca48..59f2d031ff 100644 --- a/input/input.h +++ b/input/input.h @@ -130,6 +130,7 @@ typedef struct mp_cmd { int nargs; int pausing; enum mp_on_osd on_osd; + bstr original; struct mp_cmd *queue_next; } mp_cmd_t; |