From b1b57f6efebbf1d2c6d655fcb0c1f6c66f4dff04 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sat, 16 Nov 2024 13:46:34 +0100 Subject: [PATCH] input.conf: make Alt+BS reset --video-align-{x,y} This is useful after binding cursor-centric-zoom by default. --- DOCS/man/input.rst | 3 --- etc/input.conf | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 3069653969fb4..6b53fea45618c 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -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 diff --git a/etc/input.conf b/etc/input.conf index 9fa3369ffaaa7..46796679973c1 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -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