From f1f61840250644b307bbf3a4846f3defe323f99f Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Mon, 16 Dec 2024 10:36:50 +0100 Subject: [PATCH] input.conf: bind Ctrl+left click to drag-to-pan An alternative is to bind to right click only for images, but since we will likely bind right click to the context menu once it works on platforms other than Windows, bind to ctrl+left click to not have to change it later. --- DOCS/man/mpv.rst | 4 ++++ etc/input.conf | 1 + 2 files changed, 5 insertions(+) diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index deb48acc3a..a03379bed8 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -373,6 +373,10 @@ in the mpv git repository. Mouse Control ------------- +Ctrl+left click + Pan while holding the button, keeping the clicked part of the video under + the cursor. + Left double click Toggle fullscreen on/off. diff --git a/etc/input.conf b/etc/input.conf index 15b7080741..d687cf2632 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -33,6 +33,7 @@ #MBTN_RIGHT cycle pause # toggle pause/playback mode #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 # Mouse wheels, touchpad or other input devices that have axes # if the input devices supports precise scrolling it will also scale the