Function input_sys::libinput_device_config_scroll_set_natural_scroll_enabled [] [src]

pub unsafe extern fn libinput_device_config_scroll_set_natural_scroll_enabled(device: *mut libinput_device,
                                                                              enable: c_int)
                                                                              -> libinput_config_status

@ingroup config

Enable or disable natural scrolling on the device.

@param device The device to configure @param enable non-zero to enable, zero to disable natural scrolling

@return A config status code

@see libinput_device_config_scroll_has_natural_scroll @see libinput_device_config_scroll_get_natural_scroll_enabled @see libinput_device_config_scroll_get_default_natural_scroll_enabled