0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02: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 video/out/wayland/buffer.c: Add missing free() 2017-05-26 08:52:12 +01:00
win32 droptarget: fix style and refactor 2017-03-26 00:41:16 +11:00
aspect.c aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
aspect.h aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
bitmap_packer.c bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
bitmap_packer.h bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
cocoa_common.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
cocoa_common.m input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
d3d_shader_420p.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_yuv.hlsl vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
dither.c Change GPL/LGPL dual-licensed files to LGPL 2016-01-19 18:36:34 +01:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
drm_common.c vo_drm: nake drm mode help output also output refresh rate 2017-06-18 20:54:44 +02:00
drm_common.h vo_drm: change CLI options + refactors 2016-10-07 00:22:23 +02:00
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_drm: fallback to vo_wait_default if VT switcher is not available 2017-06-08 15:24:10 +02:00
vo_image.c image_writer, vo_image: change license to LGPL 2017-06-18 15:45:24 +02:00
vo_lavc.c encode_lavc: move from GPL 2+ to LGPL 2.1+. 2017-06-13 14:22:15 -04:00
vo_null.c vo.c, vo.h, vo_null.c: change license to LGPL 2017-05-10 15:06:20 +02:00
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_tct: check ioctl result 2017-02-20 14:19:57 +01:00
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 options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
vo_x11.c build: make various x11 protocol extension libs mandatory 2017-04-21 07:30:03 +02:00
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 w32_common, w32_keyboard: change license to LGPL 2017-06-24 12:54:45 +02:00
wayland_common.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
wayland_common.h wayland_common: remove untested/unusable wayland dnd code 2016-07-30 00:02:39 +02:00
win_state.c win_state: change license to LGPL 2017-06-17 21:10:24 +02:00
win_state.h x11: pseudo HiDPI scaling 2017-01-19 16:31:54 +01:00
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