summaryrefslogtreecommitdiffstats
path: root/etc
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 /etc
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 'etc')
-rw-r--r--etc/input.conf7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/input.conf b/etc/input.conf
index f9906b23a4..67ce10f72f 100644
--- a/etc/input.conf
+++ b/etc/input.conf
@@ -2,10 +2,13 @@
#
# You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
# add new ones here.
-# See DOCS/tech/slave.txt for possible commands that can be bound.
-# Also see mpv -input cmdlist for other possible options.
+# See DOCS/man/en/input.rst for possible commands that can be bound.
+# Also see mpv --input=cmdlist for other possible options.
# The file should be placed in the $HOME/.mpv directory.
#
+# mpv --input=test --pause dummy.mkv can be used to test which commands keys are
+# bound to.
+#
# If you wish to unbind a key, use key ignore.
# e.g. ENTER ignore
#