From 8edfe70b83acba3de91d41bf1c46921e969ea265 Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Tue, 4 May 2021 17:16:39 +0300 Subject: 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 --- DOCS/man/options.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'DOCS/man/options.rst') 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. -- cgit v1.2.3