frontend: mpv: add keybindings from old setups

main
Felix Stupp 2 months ago
parent 26125cd9d4
commit 9a35820971
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -167,6 +167,23 @@ in
WHEEL_RIGHT = "ignore"; WHEEL_RIGHT = "ignore";
}; };
extraInput = '' extraInput = ''
# video: move
Alt+Shift+LEFT add video-pan-x 0.01
Alt+Shift+RIGHT add video-pan-x -0.01
Alt+Shift+UP add video-pan-y 0.01
Alt+Shift+DOWN add video-pan-y -0.01
# video: resize
Alt++ ignore
Alt+- ignore
Alt+SHARP add video-zoom 0.01
Alt++ add video-zoom 0.01
Alt+- add video-zoom -0.01
# video: rotate
r cycle_values video-rotate 90 180 270 0
R cycle_values video-rotate 270 180 90 0
# audio
Shift+m af toggle "lavfi=[pan=1c|c0=0.5*c0+0.5*c1]" ; show-text "Audio mix set to Mono"
# playback speed (make keys more sane)
[ ignore [ ignore
] ignore ] ignore
[ add speed -0.05 [ add speed -0.05
@ -175,6 +192,8 @@ in
} ignore } ignore
{ add speed -0.2 { add speed -0.2
} add speed 0.2 } add speed 0.2
# misc
+ script-binding console/enable
''; '';
config = { config = {
save-position-on-quit = true; save-position-on-quit = true;

Loading…
Cancel
Save