1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 22:20:22 +00:00
mpv/video/out
James Ross-Gowan 7897f79217 input: merge mouse wheel and axis keycodes
Mouse wheel bindings have always been a cause of user confusion.
Previously, on Wayland and macOS, precise touchpads would generate AXIS
keycodes and notched mouse wheels would generate mouse button keycodes.
On Windows, both types of device would generate AXIS keycodes and on
X11, both types of device would generate mouse button keycodes. This
made it pretty difficult for users to modify their mouse-wheel bindings,
since it differed between platforms and in some cases, between devices.

To make it more confusing, the keycodes used on Windows were changed in
18a45a42d5 without a deprecation period or adequate communication to
users.

This change aims to make mouse wheel binds less confusing. Both the
mouse button and AXIS keycodes are now deprecated aliases of the new
WHEEL keycodes. This will technically break input configs on Wayland and
macOS that assign different commands to precise and non-precise scroll
events, but this is probably uncommon (if anyone does it at all) and I
think it's a fair tradeoff for finally fixing mouse wheel-related
confusion on other platforms.
2017-09-03 20:31:44 +10:00
..
cocoa input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
opengl vo_opengl: fix overlay mode (again) 2017-08-30 12:19:32 +02:00
wayland
win32
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h
cocoa_common.m input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
d3d_shader_420p.h
d3d_shader_yuv.hlsl
dither.c
dither.h
drm_common.c
drm_common.h
filter_kernels.c vo_opengl: generalize --scale-clamp etc. 2017-07-12 19:08:58 +02:00
filter_kernels.h vo_opengl: generalize --scale-clamp etc. 2017-07-12 19:08:58 +02:00
vo_caca.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
vo_direct3d.c vo_direct3d: fix build 2017-08-22 17:32:05 +02:00
vo_drm.c
vo_image.c
vo_lavc.c
vo_null.c
vo_opengl_cb.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vo_opengl.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vo_rpi.c vo_rpi: fix operation 2017-08-15 19:41:23 +02:00
vo_sdl.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
vo_tct.c
vo_vaapi.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vo_vdpau.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vo_wayland.c
vo_x11.c
vo_xv.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vo.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
vo.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
w32_common.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
w32_common.h
wayland_common.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
wayland_common.h
win_state.c
win_state.h
x11_common.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
x11_common.h Revert "x11: use xdg-screensaver suspend/resume" 2017-08-20 09:11:07 +02:00