History

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.

Guido Cella committed 1 year ago

Commit f1f61841 parent 8da6e8a2 files · +5 −0Browse files

Unified · Split

2 files
  1. DOCS/man/mpv.rst +4 −0
  2. etc/input.conf +1 −0
DOCS/man/mpv.rst+4−0
@@ -373,6 +373,10 @@ in the mpv git repository. · 372 unmodified lines
373373 Mouse Control
374374 -------------
375375
376+Ctrl+left click
377+ Pan while holding the button, keeping the clicked part of the video under
378+ the cursor.
379+
376380 Left double click
377381 Toggle fullscreen on/off.
378382
etc/input.conf+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
3333 #MBTN_RIGHT cycle pause # toggle pause/playback mode
3434 #MBTN_BACK playlist-prev # skip to the previous file
3535 #MBTN_FORWARD playlist-next # skip to the next file
36+#Ctrl+MBTN_LEFT script-binding positioning/drag-to-pan # pan around the clicked point
3637
3738 # Mouse wheels, touchpad or other input devices that have axes
3839 # if the input devices supports precise scrolling it will also scale the

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t