wlroots-hyprland/backend
José Expósito 65c436407f pointer: transform low-res to high-res axis events
Currently, the "wlr_event_pointer_axis" event stores low-resolution
values in its "delta_discrete" field. Low-resolution values are always
multiples of one, i.e., 1 for one wheel detent, 2 for two wheel
detents, etc.

In order to simplify internal handling of events, always transform in
the backend from the low-resolution value into the high-resolution
value.

The transformation is performed by multiplying by 120. The 120 magic
number is used by the kernel and it is exposed to clients in the
"WLR_POINTER_AXIS_DISCRETE_STEP" constant.
2022-07-11 11:01:35 +02:00
..
drm backend/drm: set "max bpc" to the max 2022-06-19 16:55:36 +00:00
headless output: pass wlr_output_state to backend 2022-05-30 11:34:57 +02:00
libinput pointer: transform low-res to high-res axis events 2022-07-11 11:01:35 +02:00
multi backend/multi: add asserts in wlr_multi_backend_add 2021-11-19 10:44:45 -05:00
session build: simplify Meson subproject fallbacks 2021-12-19 18:12:16 +00:00
wayland pointer: transform low-res to high-res axis events 2022-07-11 11:01:35 +02:00
x11 wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00:00
backend.c Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
meson.build backend: remove noop backend 2021-11-25 16:49:05 +00:00