From 4614d432a8d21ab135af25a183f57efd5059bb62 Mon Sep 17 00:00:00 2001 From: Dudemanguy911 Date: Sun, 1 Sep 2019 21:06:09 -0500 Subject: input: add keybind command --- DOCS/man/input.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'DOCS') 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 `` + 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 [ [ [<lang>]]]`` Load the given audio file. See ``sub-add`` command. -- cgit v1.2.3