mpv/input
nanahi 690dc201ad input: add --input-preprocess-wheel option
This adds --input-preprocess-wheel option, which can be used to control
whether to preprocess received wheel events.

Commit 937128697f added preprocessing of
wheel events to prevent the accidental scrolling of another direction
when one direction is being scrolled for touchpads, which is problematic
with the default wheel bindings where unrelated functions (seeking and
volume) are used for the 2 directions.

However, this behavior is undesirable in the following situations:

- When custom wheel bindings are used so that the 2 directions are used
for closely related actions, such as panning. With preprocessing,
diagonal movement is impossible.
- Since the wheel deadzone was introduced to prevent accidental scrolling
for touchpads, this filtering provides no benefit for high resolution
unidirectional mouse wheels, while causing a regression where scrolling at
least 0.125 units is required to trigger the event, causing input delay.

By adding this option, these two use cases are addressed.
2024-02-15 16:44:32 +00:00
..
cmd.c
cmd.h player/command: add ability to scale overlay 2023-12-08 13:37:26 +01:00
event.c
event.h
input.c input: add --input-preprocess-wheel option 2024-02-15 16:44:32 +00:00
input.h command: add load-input-conf 2024-02-04 15:12:02 +00:00
ipc-dummy.c
ipc-unix.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
ipc-win.c win32: don't jump over variable init with goto 2023-11-18 23:55:28 +00:00
ipc.c
keycodes.c input: add missing forward media key 2023-12-06 11:07:37 +01:00
keycodes.h input: add missing forward media key 2023-12-06 11:07:37 +01:00
meson.build
sdl_gamepad.c sdl_gamepad: add version check for SDL_HINT_JOYSTICK_THREAD 2023-11-24 14:27:56 +01:00