Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input.conf: bind left click to cycle pause #15405

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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