summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorDudemanguy911 <random342@airmail.cc>2019-09-01 21:06:09 -0500
committerDudemanguy911 <random342@airmail.cc>2019-09-21 16:58:14 +0000
commit4614d432a8d21ab135af25a183f57efd5059bb62 (patch)
tree000f2e241600ca79daf515c943c08475925b1543 /DOCS
parentdd547ddcc231fe9e966835bf497ee8458aa6e5f1 (diff)
downloadmpv-4614d432a8d21ab135af25a183f57efd5059bb62.tar.bz2
mpv-4614d432a8d21ab135af25a183f57efd5059bb62.tar.xz
input: add keybind command
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 224032cac3..52be5540df 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -576,6 +576,13 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_).
empty string, ``KEYUP`` will be set on all keys. Otherwise, ``KEYUP`` will
only be set on the key specified by ``name``.
+``keybind <name> <command>``
+ Binds a key to an input command. ``command`` must be a complete command
+ containing all the desired arguments and flags. Both ``name`` and
+ ``command`` use the ``input.conf`` naming scheme. This is primarily
+ useful for the client API. Note that ``keybind`` cannot be bound to
+ another ``keybind`` command.
+
``audio-add <url> [<flags> [<title> [<lang>]]]``
Load the given audio file. See ``sub-add`` command.