File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ add `--input-tablet-emulate-mouse` option
Original file line number Diff line number Diff line change @@ -3058,6 +3058,22 @@ Property list
3058
3058
"y" MPV_FORMAT_INT64
3059
3059
"id" MPV_FORMAT_INT64
3060
3060
3061
+ ``tablet-pos ``
3062
+ Read-only - last known tablet tool (pen) position, normalized to OSD dimensions,
3063
+ and tool state.
3064
+
3065
+ Has the following sub-properties:
3066
+
3067
+ ``tablet-pos/x ``, ``tablet-pos/y ``
3068
+ Last known coordinates of the tablet tool.
3069
+ ``tablet-pos/tool-in-proximity ``
3070
+ Boolean - whether a tablet tool is currently in proximity of the tablet
3071
+ surface / hovers above the tablet surface.
3072
+ ``tablet-pos/tool-tip ``,
3073
+ The state of the tablet tool tip, ``up `` or ``down. ``
3074
+ ``tablet-pos/tool-stylus-btn1 ``, ``tablet-pos/tool-stylus-btn2 ``, ``tablet-pos/tool-stylus-btn3 ``
3075
+ The state of tablet tool side buttons, ``pressed `` or ``released ``.
3076
+
3061
3077
``sub-ass-extradata ``
3062
3078
The current ASS subtitle track's extradata. There is no formatting done.
3063
3079
The extradata is returned as a string as-is. This property is not
Original file line number Diff line number Diff line change @@ -4526,6 +4526,11 @@ Input
4526
4526
for mouse key bindings and scripts which read mouse positions for platforms
4527
4527
which do not support ``--native-touch=no `` (e.g. Wayland).
4528
4528
4529
+ ``--input-tablet-emulate-mouse=<yes|no> ``
4530
+ Emulate mouse move and button presses for tablet events (default: yes).
4531
+
4532
+ Wayland only.
4533
+
4529
4534
``--input-dragging-deadzone=<N> ``
4530
4535
Begin the built-in window dragging when the mouse moves outside a deadzone of
4531
4536
``N `` pixels while the mouse button is being held down (default: 3). This only
You can’t perform that action at this time.
0 commit comments