Function input_sys::libinput_device_config_scroll_get_natural_scroll_enabled[][src]

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

@ingroup config

Get the current mode for scrolling on this device

@param device The device to configure

@return Zero if natural scrolling is disabled, non-zero if enabled

@see libinput_device_config_scroll_has_natural_scroll @see libinput_device_config_scroll_set_natural_scroll_enabled @see libinput_device_config_scroll_get_default_natural_scroll_enabled