Skip to content

Commit

Permalink
input.conf: make Alt+BS reset --video-align-{x,y}
Browse files Browse the repository at this point in the history
This is useful after binding cursor-centric-zoom by default.
  • Loading branch information
guidocella committed Nov 16, 2024
1 parent 797beaf commit 76d8390
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions DOCS/man/input.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1532,9 +1532,6 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_).
``--video-align-y`` to shift the OSD towards the position hovered by the
cursor, or the average position of touch points if known.

If the video is smaller than the OSD in one direction, alignment in that
direction is centered.

Undocumented commands: ``ao-reload`` (experimental/internal).

List of events
Expand Down
2 changes: 1 addition & 1 deletion etc/input.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#ZOOMOUT add video-zoom -0.1 # zoom out
#Ctrl+WHEEL_UP cursor-centric-zoom 0.1 # zoom in
#Ctrl+WHEEL_DOWN cursor-centric-zoom -0.1 # zoom out
#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 # reset zoom and pan settings
#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
#Shift+PGUP seek 600 # seek 10 minutes forward
Expand Down

0 comments on commit 76d8390

Please sign in to comment.