Skip to content

Commit a966e8f

Browse files
author
nadeko
committed
CI autodeploy
1 parent 3d6d9de commit a966e8f

File tree

1 file changed

+83
-1
lines changed

1 file changed

+83
-1
lines changed

manual/master/index.html

+83-1
Original file line numberDiff line numberDiff line change
@@ -5230,6 +5230,16 @@ <h2>Input</h2>
52305230
<tt class="docutils literal"><span class="pre">--input-ar-delay</span></tt> and <tt class="docutils literal"><span class="pre">--input-ar-rate</span></tt> (default: no).
52315231
Whether this applies depends on the VO backend and how it handles
52325232
keyboard input. Does not apply to terminal input.</dd>
5233+
<dt><tt class="docutils literal"><span class="pre">--native-touch=&lt;yes|no&gt;</span></tt></dt>
5234+
<dd><p class="first">(Windows only)
5235+
For platforms which send emulated mouse inputs for touch-unaware clients,
5236+
such as Windows, use system native touch events, instead of receiving them
5237+
as emulated mouse events (default: no). This is required for multi-touch
5238+
support for these platforms.</p>
5239+
<p class="last">Note that this option has no effect on other platforms: either native touch
5240+
is not supported by mpv, or the platform does not give an option to receive
5241+
emulated mouse inputs (so native touch is always enabled, e.g. Wayland).</p>
5242+
</dd>
52335243
<dt><tt class="docutils literal"><span class="pre">--input-ar-delay</span></tt></dt>
52345244
<dd>Delay in milliseconds before we start to autorepeat a key (default: 200).
52355245
Set it to 0 to disable.</dd>
@@ -5386,6 +5396,12 @@ <h2>Input</h2>
53865396
disabled by default in libmpv as well - it should be enabled if you want
53875397
the mpv default key bindings.</p>
53885398
</dd>
5399+
<dt><tt class="docutils literal"><span class="pre">--input-touch-emulate-mouse=&lt;yes|no&gt;</span></tt></dt>
5400+
<dd>When multi-touch support is enabled (either required by the platform,
5401+
or enabled by <tt class="docutils literal"><span class="pre">--native-touch</span></tt>), emulate mouse move and button presses
5402+
for the touch events (default: yes). This is useful for compatibility
5403+
for mouse key bindings and scripts which read mouse positions for platforms
5404+
which do not support <tt class="docutils literal"><span class="pre">--native-touch=no</span></tt> (e.g. Wayland).</dd>
53895405
</dl>
53905406
</div>
53915407
<div class="section" id="osd">
@@ -13018,7 +13034,7 @@ <h2>Property list</h2>
1301813034
<dd>Read-only - mpv's window id. May not always be available, i.e due to window
1301913035
not being opened yet or not being supported by the VO.</dd>
1302013036
<dt><tt class="docutils literal"><span class="pre">mouse-pos</span></tt></dt>
13021-
<dd><p class="first">Read-only - last known mouse position, normalizd to OSD dimensions.</p>
13037+
<dd><p class="first">Read-only - last known mouse position, normalized to OSD dimensions.</p>
1302213038
<p>Has the following sub-properties (which can be read as <tt class="docutils literal">MPV_FORMAT_NODE</tt>
1302313039
or Lua table with <tt class="docutils literal">mp.get_property_native</tt>):</p>
1302413040
<dl class="last docutils">
@@ -13030,6 +13046,31 @@ <h2>Property list</h2>
1303013046
video backends update them only when the pointer hovers the window.</dd>
1303113047
</dl>
1303213048
</dd>
13049+
<dt><tt class="docutils literal"><span class="pre">touch-pos</span></tt></dt>
13050+
<dd><p class="first">Read-only - last known touch point positions, normalized to OSD dimensions.</p>
13051+
<p>This has a number of sub-properties. Replace <tt class="docutils literal">N</tt> with the 0-based touch
13052+
point index. Whenever a new finger touches the screen, a new touch point is
13053+
added to the list of touch points with the smallest unused <tt class="docutils literal">N</tt> available.</p>
13054+
<dl class="docutils">
13055+
<dt><tt class="docutils literal"><span class="pre">touch-pos/count</span></tt></dt>
13056+
<dd>Number of active touch points.</dd>
13057+
<dt><tt class="docutils literal"><span class="pre">touch-pos/N/x</span></tt>, <tt class="docutils literal"><span class="pre">touch-pos/N/y</span></tt></dt>
13058+
<dd>Position of the Nth touch point.</dd>
13059+
<dt><tt class="docutils literal"><span class="pre">touch-pos/N/id</span></tt></dt>
13060+
<dd>Unique identifier of the touch point. This can be used to identify
13061+
individual touch points when their indexes change.</dd>
13062+
</dl>
13063+
<p>When querying the property with the client API using <tt class="docutils literal">MPV_FORMAT_NODE</tt>,
13064+
or with Lua <tt class="docutils literal">mp.get_property_native</tt>, this will return a mpv_node with
13065+
the following contents:</p>
13066+
<pre class="last literal-block">
13067+
MPV_FORMAT_NODE_ARRAY
13068+
MPV_FORMAT_NODE_MAP (for each touch point)
13069+
&quot;x&quot; MPV_FORMAT_INT64
13070+
&quot;y&quot; MPV_FORMAT_INT64
13071+
&quot;id&quot; MPV_FORMAT_INT64
13072+
</pre>
13073+
</dd>
1303313074
<dt><tt class="docutils literal"><span class="pre">sub-ass-extradata</span></tt></dt>
1303413075
<dd>The current ASS subtitle track's extradata. There is no formatting done.
1303513076
The extradata is returned as a string as-is. This property is not
@@ -14414,6 +14455,47 @@ <h3>Configurable Options</h3>
1441414455
<p class="last">Use a Unicode minus sign instead of an ASCII hyphen when displaying
1441514456
the remaining playback time.</p>
1441614457
</dd>
14458+
<dt><tt class="docutils literal">background_color</tt></dt>
14459+
<dd><p class="first">Default: #000000</p>
14460+
<p class="last">Sets the background color of the OSC.</p>
14461+
</dd>
14462+
<dt><tt class="docutils literal">timecode_color</tt></dt>
14463+
<dd><p class="first">Default: #FFFFFF</p>
14464+
<p class="last">Sets the color of the timecode and seekbar, of the OSC.</p>
14465+
</dd>
14466+
<dt><tt class="docutils literal">title_color</tt></dt>
14467+
<dd><p class="first">Default: #FFFFFF</p>
14468+
<p class="last">Sets the color of the video title. Formatted as #RRGGBB.</p>
14469+
</dd>
14470+
<dt><tt class="docutils literal">time_pos_color</tt></dt>
14471+
<dd><p class="first">Default: #FFFFFF</p>
14472+
<p class="last">Sets the color of the timecode at hover position in the seekbar.</p>
14473+
</dd>
14474+
<dt><tt class="docutils literal">time_pos_outline_color</tt></dt>
14475+
<dd><p class="first">Default: #FFFFFF</p>
14476+
<p class="last">Sets the color of the timecode's outline at hover position in the seekbar.
14477+
Also affects the timecode in the slimbox layout.</p>
14478+
</dd>
14479+
<dt><tt class="docutils literal">buttons_color</tt></dt>
14480+
<dd><p class="first">Default: #FFFFFF</p>
14481+
<p class="last">Sets the colors of the big buttons.</p>
14482+
</dd>
14483+
<dt><tt class="docutils literal">top_buttons_color</tt></dt>
14484+
<dd><p class="first">Default: #FFFFFF</p>
14485+
<p class="last">Sets the colors of the top buttons.</p>
14486+
</dd>
14487+
<dt><tt class="docutils literal">small_buttonsL_color</tt></dt>
14488+
<dd><p class="first">Default: #FFFFFF</p>
14489+
<p class="last">Sets the colors of the small buttons on the left in the box layout.</p>
14490+
</dd>
14491+
<dt><tt class="docutils literal">small_buttonsR_color</tt></dt>
14492+
<dd><p class="first">Default: #FFFFFF</p>
14493+
<p class="last">Sets the colors of the small buttons on the right in the box layout.</p>
14494+
</dd>
14495+
<dt><tt class="docutils literal">held_element_color</tt></dt>
14496+
<dd><p class="first">Default: #999999</p>
14497+
<p class="last">Sets the colors of the elements that are being pressed or held down.</p>
14498+
</dd>
1441714499
</dl>
1441814500
</div>
1441914501
<div class="section" id="script-commands">

0 commit comments

Comments
 (0)