summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2024-04-27 03:02:27 -0400
committerKacper Michajłow <kasper93@gmail.com>2024-05-03 16:14:03 +0200
commit807a6d875a31a2d7c1d7956928a0f87c6c2e16c1 (patch)
tree4b5d5e3187dbe9ee8f032ed6230456b0c787f675 /options/options.h
parentf0e163bab562cce5c605c9adf3fde14d77969918 (diff)
downloadmpv-807a6d875a31a2d7c1d7956928a0f87c6c2e16c1.tar.bz2
mpv-807a6d875a31a2d7c1d7956928a0f87c6c2e16c1.tar.xz
options: add --native-touch option
For platforms which send emulated mouse inputs for touch-unaware clients, such as Win32 and X11, this option enables the native multitouch handling and disables emulated mouse inputs. This enables interested scripts to handle multitouch events while keeping compatibility with touch-unaware scripts.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index 6f7b011975..6733fa3161 100644
--- a/options/options.h
+++ b/options/options.h
@@ -56,6 +56,7 @@ typedef struct mp_vo_opts {
bool keepaspect_window;
bool hidpi_window_scale;
bool native_fs;
+ bool native_touch;
bool show_in_taskbar;
int64_t WinID;