summaryrefslogtreecommitdiffstats
path: root/DOCS/man/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-21 22:22:45 +0100
committerwm4 <wm4@nowhere>2019-11-22 01:15:08 +0100
commit0a6c09b96f17fa0247d3fe53ff396f61e5868d0c (patch)
tree576a79e4afd76d1c828d847eae62b936e598d883 /DOCS/man/input.rst
parenta098e981983bc38c916ec8c61fcde24f98dde1ab (diff)
downloadmpv-0a6c09b96f17fa0247d3fe53ff396f61e5868d0c.tar.bz2
mpv-0a6c09b96f17fa0247d3fe53ff396f61e5868d0c.tar.xz
input: introduce a pseudo key name that grabs all text input
The intended target for this is the mpv.repl script, which manually added every single ASCII key as a separate key binding. This provides a simpler mechanism, that will catch any kind of text input. Due to its special nature, explicitly do not give a guarantee for compatibility; thus the warning in input.rst.
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r--DOCS/man/input.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index eb1e7791bc..81126efd43 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -152,6 +152,11 @@ Comments on some symbolic names:
Pseudo-key that matches any unmapped key. (You should probably avoid this
if possible, because it might change behavior or get removed in the future.)
+``ANY_UNICODE``
+ Pseudo-key that matches any key that produces text. (You should probably
+ avoid this if possible, because it might change behavior or get removed in
+ the future.)
+
Flat command syntax
-------------------