# Defaults: <https://github.com/mpv-player/mpv/blob/master/etc/input.conf>.

## Pan/rotate
WHEEL_UP    add video-pan-y   +0.01
WHEEL_DOWN  add video-pan-y   -0.01
WHEEL_LEFT  add video-pan-x   +0.01
WHEEL_RIGHT add video-pan-x   -0.01
Alt+w       set panscan        0
Alt+W       set panscan        1
Alt+r       add video-rotate  -2
Alt+R       add video-rotate  +2
Ctrl+r      add video-rotate -90
Ctrl+R      add video-rotate +90

## Categorize
# <https://mpv.io/manual/master/#list-of-input-commands>
# <https://mpv.io/manual/master/#property-list>
1 run sh -c "dir=\"$(dirname \"$1\")/$0\"; mkdir -p \"$dir\"; ln -sr \"$1\" \"$dir/$(basename \"$1\")\"" 1 ${path}
2 run sh -c "dir=\"$(dirname \"$1\")/$0\"; mkdir -p \"$dir\"; ln -sr \"$1\" \"$dir/$(basename \"$1\")\"" 2 ${path}