Skip to content

Commit

Permalink
input.conf: bind left click to cycle pause
Browse files Browse the repository at this point in the history
a6683ea and 639ef09 made it possible to bind MBTN_LEFT without
conflicting with dragging, so since cycling pause on left click is
common in video players, and MBTN_RIGHT can be freed to implemnet a menu
later, bind it.
  • Loading branch information
guidocella committed Nov 29, 2024
1 parent 4ff9f50 commit fbf9c5e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions DOCS/man/mpv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,12 @@ in the mpv git repository.
Mouse Control
-------------

Left and right click
Toggle play/pause.

Left double click
Toggle fullscreen on/off.

Right click
Toggle pause on/off.

Forward/Back button
Skip to next/previous entry in playlist.

Expand Down
2 changes: 1 addition & 1 deletion etc/input.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# If this is enabled, treat all the following bindings as default.
#default-bindings start

#MBTN_LEFT ignore # don't do anything
#MBTN_LEFT cycle pause # toggle pause/playback mode
#MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen
#MBTN_RIGHT cycle pause # toggle pause/playback mode
#MBTN_BACK playlist-prev # skip to the previous file
Expand Down
4 changes: 4 additions & 0 deletions etc/restore-old-bindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
#
# Older installations use ~/.mpv/input.conf instead.

# changed in mpv 0.40.0

#MBTN_LEFT ignore # don't do anything

# changed in mpv 0.37.0

WHEEL_UP seek 10 # seek 10 seconds forward
Expand Down

0 comments on commit fbf9c5e

Please sign in to comment.