Skip to content

Commit a59d17c

Browse files
committed
input.conf: bind MBTN_MID to align-to-cursor
1 parent be15cfd commit a59d17c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: DOCS/man/mpv.rst

+3
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ Left double click
373373
Right click
374374
Toggle pause on/off.
375375

376+
Middle click
377+
Pan through the whole video while holding the button.
378+
376379
Forward/Back button
377380
Skip to next/previous entry in playlist.
378381

Diff for: etc/input.conf

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#MBTN_LEFT ignore # don't do anything
3232
#MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen
3333
#MBTN_RIGHT cycle pause # toggle pause/playback mode
34+
#MBTN_MID script-binding positioning/align-to-cursor # pan the whole video
3435
#MBTN_BACK playlist-prev # skip to the previous file
3536
#MBTN_FORWARD playlist-next # skip to the next file
3637
#Ctrl+MBTN_LEFT script-binding positioning/drag-to-pan # pan around the clicked point

0 commit comments

Comments
 (0)