0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/etc
nanahi de4f301891 input.conf: bind Ctrl+WHEEL_UP/DOWN to video-zoom
There are good reasons to bind Ctrl+WHEEL_UP/WHEEL_DOWN to video-zoom:

- They are ubiquitous and familiar key bindings to represent zooming
operations, which are used in all popular web browsers, document viewers,
and document editors.
- Because WHEEL_UP/WHEEL_DOWN are scaled with high-resolution scrolling
input devices like touchpads, this allows smooth zooming.
- This makes "pinch to zoom" with touchpads and touchscreens work out of
box on Windows, since by default applications receive these key inputs
for pinch gesture.
- It had been considered to bind these keys to window-scale instead.
However, this results in horrible UX as the keybinds work only when the
mouse pointer is over the mpv window, and if the window shrinks during
this operation, the window below mpv now receives these keybinds,
resulting in unwanted zooming for that window, which violates the principle
of least surprise.
2024-02-21 18:55:43 +00:00
..
_mpv.zsh zsh-completion: complete options after --help 2023-11-15 15:08:30 +00:00
builtin.conf options: rename --screenshot-directory to --screenshot-dir 2023-10-25 16:16:37 +00:00
encoding-profiles.conf encode: remove removed encode options from presets 2018-05-03 01:09:46 +03:00
input.conf input.conf: bind Ctrl+WHEEL_UP/DOWN to video-zoom 2024-02-21 18:55:43 +00:00
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
mplayer-input.conf mac: remove Apple Remote support 2019-12-15 20:07:31 +01:00
mpv-gradient.svg SVG version of the icon (with symbolic counterpart) 2015-10-30 20:29:55 +01:00
mpv-icon-8bit-16x16.png x11: add window icon 2013-09-01 23:27:33 +02:00
mpv-icon-8bit-32x32.png x11: add window icon 2013-09-01 23:27:33 +02:00
mpv-icon-8bit-64x64.png x11: add window icon 2013-09-01 23:27:33 +02:00
mpv-icon-8bit-128x128.png x11: add 128x128 sized icon support 2017-07-02 13:07:36 +02:00
mpv-icon.ico change application icon 2013-09-01 12:24:53 +02:00
mpv-symbolic.svg SVG version of the icon (with symbolic counterpart) 2015-10-30 20:29:55 +01:00
mpv.bash-completion bash-completion: parse the mpv options lazily 2024-01-21 10:44:42 -08:00
mpv.conf DOCS: update notes about new profiles 2023-09-20 18:42:06 +02:00
mpv.desktop etc/mpv.desktop: add audio/vnd.wave and video/vnd.avi 2023-12-12 00:32:15 +01:00
mpv.metainfo.xml mpv.metainfo.xml: add XDG appstream metadata manifest 2022-09-09 19:28:26 +02:00
mpv.svg SVG version of the icon (with symbolic counterpart) 2015-10-30 20:29:55 +01:00
restore-old-bindings.conf restore-old-bindings.conf: remove unusable bindings 2023-10-01 14:09:46 +00:00