summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2021-05-04 17:16:39 +0300
committerAvi Halachmi (:avih) <avihpit@yahoo.com>2021-05-04 17:26:55 +0300
commit8edfe70b83acba3de91d41bf1c46921e969ea265 (patch)
tree90a494a2c3df7a9994f641afd7be2ba645cc1e49 /DOCS/man/options.rst
parentf6f9b1e8db044629937df0d93cc5deb99fd02bce (diff)
downloadmpv-8edfe70b83acba3de91d41bf1c46921e969ea265.tar.bz2
mpv-8edfe70b83acba3de91d41bf1c46921e969ea265.tar.xz
DOCS/input.rst: clarify --no-input-default-keybindings docs
This commit describes more accurately what currently gets disabled by this option - specifically also keys from mp.add_key_binding. It's not necessarily the best behavior because libmpv clients might want to disable mpv's own builtin keybindings while still allowing scripts to define keys which `input.conf' can override. In the future we might exclude mp.add_key_binding from this option, but for now at least document this option accurately. Fixes #8809
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 9e30ea0f75..e07f7a7851 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -3782,7 +3782,10 @@ Input
configuration directory (usually ``~/.config/mpv/input.conf``).
``--no-input-default-bindings``
- Disable mpv default (built-in) key bindings.
+ Disable mpv default (built-in) key bindings. Currently this includes all
+ key bindings which ``input.conf`` can override, like those added by scripts
+ using ``mp.add_key_binding`` (but not ``mp.add_forced_key_binding``).
+ This might change in the future to exclude ``mp.add_key_binding``.
``--input-cmdlist``
Prints all commands that can be bound to keys.