From 1f7b1833d654e4d93f1d4986e88386382eee7c02 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Mon, 16 Dec 2024 10:38:24 +0100 Subject: [PATCH] input.conf: bind MBTN_MID to align-to-cursor --- 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 5307edc5364e1..6c094e7aeceb6 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -357,6 +357,9 @@ Left double click Right click Toggle pause on/off. +Middle click + Pan through the whole video while holding the button. + Forward/Back button Skip to next/previous entry in playlist. diff --git a/etc/input.conf b/etc/input.conf index 1df7952009614..76ce5a2c2742f 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 video #MBTN_BACK playlist-prev # skip to the previous file #MBTN_FORWARD playlist-next # skip to the next file #Ctrl+MBTN_LEFT script-binding positioning/drag-to-pan # pan around the clicked point