wlroots-hyprland/types/seat
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
..
wlr_seat.c types/seat/wlr_seat.c: fix focused_client being null after seat_client recreation 2022-04-16 20:56:30 +02:00
wlr_seat_keyboard.c seat: take wlr_keyboard in wlr_seat_set_keyboard() 2022-03-23 13:08:41 +00:00
wlr_seat_pointer.c pointer: transform low-res to high-res axis events 2022-07-11 11:01:35 +02:00
wlr_seat_touch.c seat: Allow to cancel touches 2022-05-22 09:43:33 +00:00