wlroots-hyprland/include/wlr
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
..
backend Reformat doc comments 2022-05-25 14:22:58 +00:00
interfaces output: pass wlr_output_state to backend 2022-05-30 11:34:57 +02:00
render render/texture: drop wlr_texture_is_opaque 2022-06-16 14:43:24 +02:00
types pointer: transform low-res to high-res axis events 2022-07-11 11:01:35 +02:00
util Reformat doc comments 2022-05-25 14:22:58 +00:00
backend.h Reformat doc comments 2022-05-25 14:22:58 +00:00
config.h.in build: make GBM optional 2022-05-30 13:30:08 +00:00
meson.build build: bump version to 0.16.0-dev 2022-05-24 15:04:14 +02:00
version.h.in Drop WLR_VERSION_API_* 2021-06-29 12:22:55 +02:00
xcursor.h xcursor: improve documentation 2021-07-05 11:00:15 -04:00
xwayland.h Document NULL return value of foo_from_wlr_surface() functions 2022-07-02 13:28:02 +02:00