Skip to content

Commit

Permalink
input.conf: add zoom, pan, scale and rotate keybinds for numpad
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Jul 11, 2024
1 parent c505f77 commit f470b63
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions etc/input.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#
Expand Down

0 comments on commit f470b63

Please sign in to comment.