wlroots-hyprland/include/wlr/types
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_buffer.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_compositor.h render/texture: drop wlr_texture_is_opaque 2022-06-16 14:43:24 +02:00
wlr_cursor.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_damage_ring.h types: add wlr_damage_ring 2022-06-29 18:54:21 +03:00
wlr_data_control_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_data_device.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_drm.h drm: add support for DMA-BUFs 2021-07-05 11:13:41 -04:00
wlr_drm_lease_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_export_dmabuf_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_foreign_toplevel_management_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_fullscreen_shell_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_gamma_control_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_idle.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_idle_inhibit_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_input_device.h wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00:00
wlr_input_inhibitor.h Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_input_method_v2.h Document NULL return value of foo_from_wlr_surface() functions 2022-07-02 13:28:02 +02:00
wlr_keyboard.h wlr_{keyboard,pointer,touch}: Update event docs 2022-06-28 09:50:30 +00:00
wlr_keyboard_group.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_keyboard_shortcuts_inhibit_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_layer_shell_v1.h Document NULL return value of foo_from_wlr_surface() functions 2022-07-02 13:28:02 +02:00
wlr_linux_dmabuf_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_matrix.h matrix: remove wlr_matrix_projection() 2022-06-08 19:27:36 +00:00
wlr_output.h output: add output state setters 2022-06-08 18:22:32 +02:00
wlr_output_damage.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_output_layout.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_output_management_v1.h output-management-v1: add wlr_output_head_v1_state_apply() 2022-06-17 21:05:51 +00:00
wlr_output_power_management_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_pointer.h pointer: transform low-res to high-res axis events 2022-07-11 11:01:35 +02:00
wlr_pointer_constraints_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_pointer_gestures_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_presentation_time.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_primary_selection.h Remove all wayland-server.h includes 2019-07-27 15:49:32 -04:00
wlr_primary_selection_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_region.h region: drop leftover reference to the mailing list 2021-07-05 10:32:50 -04:00
wlr_relative_pointer_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_scene.h wlr_scene: Maintain damage highlight regions per output 2022-07-03 12:21:52 -04:00
wlr_screencopy_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_seat.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_server_decoration.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_session_lock_v1.h Document NULL return value of foo_from_wlr_surface() functions 2022-07-02 13:28:02 +02:00
wlr_subcompositor.h Document NULL return value of foo_from_wlr_surface() functions 2022-07-02 13:28:02 +02:00
wlr_surface.h surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_switch.h wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00:00
wlr_tablet_pad.h wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00:00
wlr_tablet_tool.h wlr_input_device: remove anon union field 2022-06-21 18:42:07 +00:00
wlr_tablet_v2.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_text_input_v3.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_touch.h wlr_{keyboard,pointer,touch}: Update event docs 2022-06-28 09:50:30 +00:00
wlr_viewporter.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_virtual_keyboard_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_virtual_pointer_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_xcursor_manager.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_xdg_activation_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_xdg_decoration_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_xdg_foreign_registry.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_xdg_foreign_v1.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_xdg_foreign_v2.h Reformat doc comments 2022-05-25 14:22:58 +00:00
wlr_xdg_output_v1.h xdg-output-v1: use wlr_output.description 2019-12-29 12:35:22 -05:00
wlr_xdg_shell.h Document NULL return value of foo_from_wlr_surface() functions 2022-07-02 13:28:02 +02:00