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.
This commit is contained in:
Guido Cella authored and Kacper Michajłow committed 2025-02-24 15:53:34 +01:00
1 parent 8da6e8ad55
commit f1f6184025
2 files changed
+5

No files matched your search

+4
View File
@@ -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.
+1
View File
@@ -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