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 command: don't hardcode commands list to be repeatable 2021-08-17 22:45:39 +03:00
cmd.h player/command: add ability to scale overlay 2023-12-08 13:37:26 +01:00
event.c input: ignore empty lines on drag-drop mime data 2019-09-21 15:39:47 +02:00
event.h input/event.h: add include guard 2016-03-15 22:44:15 +01:00
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 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 json: unify json_parse depth to MAX_JSON_DEPTH=50 2023-07-08 11:36:15 +02:00
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 build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
sdl_gamepad.c sdl_gamepad: add version check for SDL_HINT_JOYSTICK_THREAD 2023-11-24 14:27:56 +01:00