Skip to content

Commit

Permalink
input.conf: bind alt+arrows to positioning.lua's pan
Browse files Browse the repository at this point in the history
  • Loading branch information
guidocella committed Nov 18, 2024
1 parent 2271816 commit 13cdd2c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 4 additions & 4 deletions etc/input.conf
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
#Ctrl+RIGHT no-osd sub-seek 1 # seek to the next subtitle
#Ctrl+Shift+LEFT sub-step -1 # change subtitle timing such that the previous subtitle is displayed
#Ctrl+Shift+RIGHT sub-step 1 # change subtitle timing such that the next subtitle is displayed
#Alt+left add video-pan-x 0.1 # move the video right
#Alt+right add video-pan-x -0.1 # move the video left
#Alt+up add video-pan-y 0.1 # move the video down
#Alt+down add video-pan-y -0.1 # move the video up
#Alt+LEFT script-binding positioning/pan-x -0.2 # pan to the right
#Alt+RIGHT script-binding positioning/pan-x +0.2 # pan to the left
#Alt+UP script-binding positioning/pan-y -0.2 # pan down
#Alt+DOWN script-binding positioning/pan-y +0.2 # pan up
#Alt++ add video-zoom 0.1 # zoom in
#ZOOMIN add video-zoom 0.1 # zoom in
#Alt+- add video-zoom -0.1 # zoom out
Expand Down
7 changes: 7 additions & 0 deletions etc/restore-old-bindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
#
# Older installations use ~/.mpv/input.conf instead.

# changed in mpv 0.40.0

#Alt+LEFT add video-pan-x 0.1 # move the video right
#Alt+RIGHT add video-pan-x -0.1 # move the video left
#Alt+UP add video-pan-y 0.1 # move the video down
#Alt+DOWN add video-pan-y -0.1 # move the video up

# changed in mpv 0.37.0

WHEEL_UP seek 10 # seek 10 seconds forward
Expand Down

0 comments on commit 13cdd2c

Please sign in to comment.