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 scripting: add a way to run sub processes as "scripts" 2020-02-19 22:18:15 +01:00
ipc-unix.c
ipc-win.c
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