Constant input::ffi::libinput_event_type_LIBINPUT_EVENT_POINTER_AXIS[][src]

pub const libinput_event_type_LIBINPUT_EVENT_POINTER_AXIS: u32 = 403; // 0x0000_0193u32
Expand description

A scroll event from various sources.

This event is deprecated as of libinput 1.19. Use @ref LIBINPUT_EVENT_POINTER_SCROLL_WHEEL, @ref LIBINPUT_EVENT_POINTER_SCROLL_FINGER, and @ref LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS instead.

Use libinput_event_pointer_get_axis_source() to determine the source of a scroll event. For libinput versions 1.19 and later, the source is encoded in the event type.

This event is sent in addition to events of type @ref LIBINPUT_EVENT_POINTER_SCROLL_WHEEL, @ref LIBINPUT_EVENT_POINTER_SCROLL_FINGER, and @ref LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS. Do not mix and match, either use the old event or the new events. libinput makes no guarantee about the relation between @ref LIBINPUT_EVENT_POINTER_AXIS and the new event types @ref LIBINPUT_EVENT_POINTER_SCROLL_WHEEL, @ref LIBINPUT_EVENT_POINTER_SCROLL_FINGER, and @ref LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS. You may receive multiple zero, one or more new events per legacy event.

@warning Ignore this event if you are processing @ref LIBINPUT_EVENT_POINTER_SCROLL_WHEEL, @ref LIBINPUT_EVENT_POINTER_SCROLL_FINGER, and @ref LIBINPUT_EVENT_POINTER_SCROLL_CONTINUOUS.