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
373Mouse Control373Mouse Control
374-------------374-------------
375 375
376Ctrl+left click
377 Pan while holding the button, keeping the clicked part of the video under
378 the cursor.
379
376Left double click380Left double click
377 Toggle fullscreen on/off.381 Toggle fullscreen on/off.
378 382
etc/input.conf+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
33#MBTN_RIGHT cycle pause # toggle pause/playback mode33#MBTN_RIGHT cycle pause # toggle pause/playback mode
34#MBTN_BACK playlist-prev # skip to the previous file34#MBTN_BACK playlist-prev # skip to the previous file
35#MBTN_FORWARD playlist-next # skip to the next file35#MBTN_FORWARD playlist-next # skip to the next file
36#Ctrl+MBTN_LEFT script-binding positioning/drag-to-pan # pan around the clicked point
36 37
37# Mouse wheels, touchpad or other input devices that have axes38# Mouse wheels, touchpad or other input devices that have axes
38# if the input devices supports precise scrolling it will also scale the39# 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