summaryrefslogtreecommitdiffstats
path: root/DOCS/man/lua.rst
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/man/lua.rst')
-rw-r--r--DOCS/man/lua.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst
index 13cd3dbad0..8861552562 100644
--- a/DOCS/man/lua.rst
+++ b/DOCS/man/lua.rst
@@ -262,8 +262,8 @@ The ``mp`` module is preloaded, although it can be loaded manually with
Boolean Whether the event was caused by a mouse button.
``key_name``
- The name of they key that triggered this, or ``nil`` if unknown
- or invoked artificially.
+ The name of they key that triggered this, or ``nil`` if invoked
+ artificially. If the key name is unknown, it's an empty string.
Internally, key bindings are dispatched via the ``script-message-to`` or
``script-binding`` input commands and ``mp.register_script_message``.