From f470b63a04767ada809ae7d0c69c8f9ac4c80628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Thu, 13 Jun 2024 21:17:23 +0200 Subject: [PATCH] input.conf: add zoom, pan, scale and rotate keybinds for numpad --- etc/input.conf | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/etc/input.conf b/etc/input.conf index 20aa7199f9..3ebbac1503 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -181,6 +181,38 @@ #g-b script-binding select/select-binding #g-r script-binding select/show-properties +#Alt+KP1 add video-rotate -1 # rotate video counterclockwise by 1 degree +#Alt+KP5 set video-rotate 0 # reset rotation +#Alt+KP3 add video-rotate 1 # rotate video clockwise by 1 degree + +#KP1 add video-zoom -0.01 # zoom out video +#KP2 add video-scale-y -0.01 # scale down video vertically +#KP4 add video-scale-x -0.01 # scale down video horizontally +#KP5 set video-scale-x 1.00; set video-scale-y 1; set video-zoom 0 # reset video scale +#KP6 add video-scale-x 0.01 # scale up video horizontally +#KP8 add video-scale-y 0.01 # scale up video vertically +#KP9 add video-zoom 0.01 # zoom in video + +#Ctrl+KP1 add video-pan-x -0.01; add video-pan-y 0.01 # move video left and down +#Ctrl+KP2 add video-pan-y 0.01 # move video down +#Ctrl+KP3 add video-pan-x 0.01; add video-pan-y 0.01 # move video right and down +#Ctrl+KP4 add video-pan-x -0.01 # move video left +#Ctrl+KP5 set video-pan-x 0.00; set video-pan-y 0.00 # reset video position +#Ctrl+KP6 add video-pan-x 0.01 # move video right +#Ctrl+KP7 add video-pan-x -0.01; add video-pan-y -0.01 # move video left and up +#Ctrl+KP8 add video-pan-y -0.01 # move video up +#Ctrl+KP9 add video-pan-x 0.01; add video-pan-y -0.01 # move video right and up + +#Ctrl+KP_END add video-align-x -0.01; add video-align-y 0.01 # align video left and down +#Ctrl+KP_DOWN add video-align-y 0.01 # align video down +#Ctrl+KP_PGDWN add video-align-x 0.01; add video-align-y 0.01 # align video right and down +#Ctrl+KP_LEFT add video-align-x -0.01 # align video left +#Ctrl+KP_BEGIN set video-align-x 0.00; set video-align-y 0.00 # reset video alignment +#Ctrl+KP_RIGHT add video-align-x 0.01 # align video right +#Ctrl+KP_HOME add video-align-x -0.01; add video-align-y -0.01 # align video left and up +#Ctrl+KP_UP add video-align-y -0.01 # align video up +#Ctrl+KP_PGUP add video-align-x 0.01; add video-align-y -0.01 # align video right and up + # # Legacy bindings (may or may not be removed in the future) #