From 187cbd7aa7a74bf1596b3501c095920441f76dc0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 13 Oct 2012 21:10:20 +0200 Subject: 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. --- input/input.h | 1 + 1 file changed, 1 insertion(+) (limited to 'input/input.h') 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; -- cgit v1.2.3