diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index 5f442faa32d73..83b01c4fd6280 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -344,6 +344,12 @@ Left double click Right click Toggle pause on/off. +Middle click + Drag to pan. + +Middle double click + Reset pan. + Forward/Back button Skip to next/previous entry in playlist. diff --git a/etc/input.conf b/etc/input.conf index d82216b9f9839..2d289f2750e79 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -31,6 +31,8 @@ #MBTN_LEFT ignore # don't do anything #MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen #MBTN_RIGHT cycle pause # toggle pause/playback mode +#MBTN_MID script-binding positioning/align-to-cursor # pan the whole image +MBTN_MID_DBL no-osd set video-align-x 0; no-osd set video-align-y 0; no-osd set video-pan-x 0; no-osd set video-pan-y 0 # reset pan #MBTN_BACK playlist-prev # skip to the previous file #MBTN_FORWARD playlist-next # skip to the next file