mpv: tune image-positioning bindings

This commit is contained in:
2024-10-08 02:18:33 +00:00
parent ea05bac480
commit 1f47303938

View File

@@ -10,12 +10,14 @@ POWER ignore
VOLUME_UP ignore VOLUME_UP ignore
VOLUME_DOWN ignore VOLUME_DOWN ignore
# disable "double-click to toggle fullscreen", else that limits the rate at which i can seek # disable "double-click to toggle fullscreen", else that limits the rate at which i can seek
MBTN_LEFT_DBL ignore # MBTN_LEFT_DBL ignore
MBTN_LEFT_DBL cycle-values video-zoom 2.0 1.0 #< XXX: uosc eats this event
# image panning via image-positioning.lua # image panning via image-positioning.lua
# uosc swallows all (?) LMB inputs, so pan with middle button # uosc swallows all (?) LMB inputs, so pan with middle button
# MBTN_LEFT script-binding drag-to-pan MBTN_LEFT script-binding drag-to-pan #< XXX: uosc eats this event
MBTN_MID script-binding drag-to-pan MBTN_MID script-binding drag-to-pan
CTRL+MBTN_LEFT script-binding drag-to-pan
WHEEL_UP script-message cursor-centric-zoom 0.2 WHEEL_UP script-message cursor-centric-zoom 0.2
WHEEL_DOWN script-message cursor-centric-zoom -0.2 WHEEL_DOWN script-message cursor-centric-zoom -0.2