diff options
author | wm4 <wm4@nowhere> | 2019-11-19 23:09:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-19 23:09:59 +0100 |
commit | 13815bf25179da6dd450141fa6c1ab67a4b00b6b (patch) | |
tree | 2d3fde5925ccbe93b56f80727efe2be5842f16ea /DOCS/man/input.rst | |
parent | 03fbb57bd99c6ca9b0ca4aa1433156a2bb4d3136 (diff) | |
download | mpv-13815bf25179da6dd450141fa6c1ab67a4b00b6b.tar.bz2 mpv-13815bf25179da6dd450141fa6c1ab67a4b00b6b.tar.xz |
manpage: deprecate input section commands
These were a bad idea and are obscure. Scripting key mapping support
still uses them, but this is not relevant to scripting authors, because
the mpv provided helper code (defaults.lua) takes care of this. In
addition, the OSC uses a legacy form of this.
Hopefully, this input section stuff can be removed, and replaced by a
simpler mechanism.
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r-- | DOCS/man/input.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index c96876563f..418feb261a 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -728,6 +728,8 @@ Input Commands that are Possibly Subject to Change list yourself when adding a second key binding for cycling backwards. ``enable-section <name> [<flags>]`` + This command is deprecated, except for mpv-internal uses. + Enable all key bindings in the named input section. The enabled input sections form a stack. Bindings in sections on the top of @@ -750,9 +752,13 @@ Input Commands that are Possibly Subject to Change Same. ``disable-section <name>`` + This command is deprecated, except for mpv-internal uses. + Disable the named input section. Undoes ``enable-section``. ``define-section <name> <contents> [<flags>]`` + This command is deprecated, except for mpv-internal uses. + Create a named input section, or replace the contents of an already existing input section. The ``contents`` parameter uses the same syntax as the ``input.conf`` file (except that using the section syntax in it is not |