Type Definition input_sys::libinput_pointer_axis[][src]

pub type libinput_pointer_axis = c_uint;
Expand description

@ingroup device

Axes on a device with the capability @ref LIBINPUT_DEVICE_CAP_POINTER that are not x or y coordinates.

The two scroll axes @ref LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL and @ref LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL are engaged separately, depending on the device. libinput provides some scroll direction locking but it is up to the caller to determine which axis is needed and appropriate in the current interaction