Function input_sys::libinput_device_config_scroll_get_methods[][src]

pub unsafe extern "C" fn libinput_device_config_scroll_get_methods(
    device: *mut libinput_device
) -> u32
Expand description

@ingroup config

Check which scroll methods a device supports. The method defines when to generate scroll axis events instead of pointer motion events.

@param device The device to configure

@return A bitmask of possible methods.

@see libinput_device_config_scroll_set_method @see libinput_device_config_scroll_get_method @see libinput_device_config_scroll_get_default_method @see libinput_device_config_scroll_set_button @see libinput_device_config_scroll_get_button @see libinput_device_config_scroll_get_default_button