mirror of https://github.com/mpv-player/mpv
input.conf: add zoom, pan, scale and rotate keybinds for numpad
This commit is contained in:
parent
c505f77dda
commit
f470b63a04
|
@ -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)
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue