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.
Unified · Split
| @@ -373,6 +373,10 @@ in the mpv git repository. · 372 unmodified lines | ||
| 373 | 373 | Mouse Control |
| 374 | 374 | ------------- |
| 375 | 375 | |
| 376 | +Ctrl+left click | |
| 377 | + Pan while holding the button, keeping the clicked part of the video under | |
| 378 | + the cursor. | |
| 379 | + | |
| 376 | 380 | Left double click |
| 377 | 381 | Toggle fullscreen on/off. |
| 378 | 382 | |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #MBTN_RIGHT cycle pause # toggle pause/playback mode |
| 34 | 34 | #MBTN_BACK playlist-prev # skip to the previous file |
| 35 | 35 | #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 | 38 | # Mouse wheels, touchpad or other input devices that have axes |
| 38 | 39 | # if the input devices supports precise scrolling it will also scale the |