diff options
author | wm4 <wm4@nowhere> | 2015-12-23 19:13:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-23 19:13:45 +0100 |
commit | b0381d27eb19d8f70f4f711d41dd342c616ae843 (patch) | |
tree | 89eee7586c847ba69cd33d9d96be20ff3553646b /DOCS/man | |
parent | 3e1aed8f40f0c35f78c74502050630519895c972 (diff) | |
download | mpv-b0381d27eb19d8f70f4f711d41dd342c616ae843.tar.bz2 mpv-b0381d27eb19d8f70f4f711d41dd342c616ae843.tar.xz |
input: add a catch-all "unmapped" command
This can be used to grab all unmapped keys.
Fixes #2612.
Diffstat (limited to 'DOCS/man')
-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 e3fbddd778..cfe179c06f 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -546,6 +546,12 @@ Input Commands that are Possibly Subject to Change Always bind a key. (The input section that was made active most recently wins if there are ambiguities.) + This command can be used to dispatch arbitrary keys to a script or a client + API user. If the input section defines ``script-binding`` commands, it is + also possible to get separate events on key up/down, and relatively detailed + information about the key state. The special key name ``unmapped`` can be + used to match any unmapped key. + ``overlay-add <id> <x> <y> "<file>" <offset> "<fmt>" <w> <h> <stride>`` Add an OSD overlay sourced from raw data. This might be useful for scripts and applications controlling mpv, and which want to display things on top |