summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-24 01:06:00 +0200
committerwm4 <wm4@nowhere>2012-10-24 21:56:35 +0200
commit10295b080dd3f3e4ffe947a15c8a327446ce8276 (patch)
tree60cc9bf6c74489b4acc03ef79be46384ddac47eb /DOCS/man/en/input.rst
parent3d98e8c674066809844cd35dfe02b28a07f91d77 (diff)
downloadmpv-10295b080dd3f3e4ffe947a15c8a327446ce8276.tar.bz2
mpv-10295b080dd3f3e4ffe947a15c8a327446ce8276.tar.xz
manpage: cleanup
Removing text about things that have been removed from the code long ago, other fixes.
Diffstat (limited to 'DOCS/man/en/input.rst')
-rw-r--r--DOCS/man/en/input.rst28
1 files changed, 18 insertions, 10 deletions
diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst
index 08eaed9456..2f6e0b1e09 100644
--- a/DOCS/man/en/input.rst
+++ b/DOCS/man/en/input.rst
@@ -20,10 +20,18 @@ In general, keys can be combined with ``Shift``, ``Ctrl`` and ``Alt``:
| ctrl+q quit
+**mpv** can be started in input test mode, which displays key bindings and the
+commands they're bound to on the OSD, instead of running the commands:
+
+| **mpv** --input=test --demuxer=rawvideo --rawvideo=w=1280:h=720 /dev/zero
+
+(Commands which normally close the player will not work in this mode, and you
+must kill **mpv** externally to make it exit.)
+
General input command syntax
----------------------------
-`[Shift+][Ctrl+][Alt+][Meta+]<key> [<prefix>] <command> (<argument>)*`
+`[Shift+][Ctrl+][Alt+][Meta+]<key> [<prefixes>] <command> (<argument>)*`
Newlines always start a new binding. ``#`` starts a comment (outside of quoted
string arguments). To bind commands to the ``#`` key, ``SHARP`` can be used.
@@ -56,7 +64,7 @@ seek <seconds> [relative|absolute|absolute-percent|- [default-precise|exact|keyf
absolute
Seek to a given time.
absolute-percent
- Seek to agiven percent position.
+ Seek to a given percent position.
The third argument defines how exact the seek is:
@@ -207,9 +215,9 @@ osd-bar
If possible, show a bar with this command. Seek commands will show the
progress bar, property changing commands may show the newly set value.
osd-msg
- If possible, show an OSD message with this command. The seek command shows
- the current playback time (like ``show_progress``), property changing
- commands show the newly set value as text.
+ If possible, show an OSD message with this command. Seek command show
+ the current playback time, property changing commands show the newly set
+ value as text.
osd-msg-bar
Combine osd-bar and osd-msg.
@@ -256,7 +264,7 @@ edition x current MKV edition number
titles number of DVD titles
chapters number of chapters
editions number of MKV editions
-angle current DVD angle
+angle x current DVD angle
metadata metadata key/value pairs
metadata/<key> value of metedata entry <key>
pause x pause status (bool)
@@ -306,8 +314,8 @@ sub-scale x subtitle font size multiplicator
ass-use-margins x see ``--ass-use-margins``
ass-vsfilter-aspect-compat x see ``--ass-vsfilter-aspect-compat``
ass-style-override x see ``--ass-style-override``
-tv-brightness
-tv-contrast
-tv-saturation
-tv-hue
+tv-brightness x
+tv-contrast x
+tv-saturation x
+tv-hue x
=========================== = ==================================================