wlroots-hyprland/backend
José Expósito c84cc660f0 build: check if libinput supports high-res scroll
Starting with Linux Kernel v5.0 two new axes are available for
mice that support high-resolution wheel scrolling: REL_WHEEL_HI_RES and
REL_HWHEEL_HI_RES.

Both axes send data in fractions of 120 where each multiple of 120
amounts to one logical scroll event. Fractions of 120 indicate a wheel
movement less than one detent.

Three new events are now available on libinput:
LIBINPUT_EVENT_POINTER_SCROLL_WHEEL,
LIBINPUT_EVENT_POINTER_SCROLL_FINGER, and
LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS.
These events replace the LIBINPUT_EVENT_POINTER_AXIS event, so new
clients should simply ignore that event.

Also, two new APIs are available to access the high-resolution data:
libinput_event_pointer_get_scroll_value() and
libinput_event_pointer_get_scroll_value_v120().

Add a project argument (LIBINPUT_HAS_SCROLL_VALUE120) to allow
building against old versions of libinput or, where high-resolution
scroll is available, support it.
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 build: check if libinput supports high-res scroll 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 wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00: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