From f9c7e4261659d635b869edc4130dcc14078d51b3 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sun, 17 Nov 2024 22:10:05 +0100 Subject: [PATCH] input.conf: bind MBTN_MID to align-to-cursor Once the dragging deadzone is supported on macOS, cycle pause can be moved to MBTN_LEFT and drag-to-pan can be bound to MBTN_RIGHT. --- DOCS/man/mpv.rst | 3 +++ etc/input.conf | 1 + 2 files changed, 4 insertions(+) diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index 5f442faa32d73..e65ee2bdd6ace 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -344,6 +344,9 @@ Left double click Right click Toggle pause on/off. +Middle click + Drag to pan. + Forward/Back button Skip to next/previous entry in playlist. diff --git a/etc/input.conf b/etc/input.conf index d82216b9f9839..16a83e0262e61 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -31,6 +31,7 @@ #MBTN_LEFT ignore # don't do anything #MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen #MBTN_RIGHT cycle pause # toggle pause/playback mode +#MBTN_MID script-binding positioning/align-to-cursor # pan the whole image #MBTN_BACK playlist-prev # skip to the previous file #MBTN_FORWARD playlist-next # skip to the next file