Skip to content

Commit

Permalink
input.conf: bind ctrl+wheel to cursor-centric-zoom
Browse files Browse the repository at this point in the history
Probably not worth adding to etc/restore-old-bindings.conf since it's an
extension of add video-zoom.
  • Loading branch information
guidocella committed Nov 24, 2024
1 parent 32d67ee commit 059b398
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion DOCS/man/mpv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ Wheel left/right
Seek forward/backward 10 seconds.

Ctrl+Wheel up/down
Change video zoom.
Change video zoom keeping the part of the video hovered by the cursor under
it.

Context Menu
-------------
Expand Down
4 changes: 2 additions & 2 deletions etc/input.conf
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
#ZOOMIN add video-zoom 0.1 # zoom in
#Alt+- add video-zoom -0.1 # zoom out
#ZOOMOUT add video-zoom -0.1 # zoom out
#Ctrl+WHEEL_UP add video-zoom 0.1 # zoom in
#Ctrl+WHEEL_DOWN add video-zoom -0.1 # zoom out
#Ctrl+WHEEL_UP script-binding positioning/cursor-centric-zoom 0.1 # zoom in towards the cursor
#Ctrl+WHEEL_DOWN script-binding positioning/cursor-centric-zoom -0.1 # zoom out towards the cursor
#Alt+BS set video-zoom 0; no-osd set panscan 0; no-osd set video-pan-x 0; no-osd set video-pan-y 0; no-osd set video-align-x 0; no-osd set video-align-y 0 # reset zoom and pan settings
#PGUP add chapter 1 # seek to the next chapter
#PGDWN add chapter -1 # seek to the previous chapter
Expand Down

0 comments on commit 059b398

Please sign in to comment.