Function input_sys::libinput_device_config_accel_get_speed[][src]

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

@ingroup config

Get the current pointer acceleration setting for this pointer device. The returned value is normalized to a range of [-1, 1]. See libinput_device_config_accel_set_speed() for details.

@param device The device to configure

@return The current speed, range -1 to 1

@see libinput_device_config_accel_is_available @see libinput_device_config_accel_set_speed @see libinput_device_config_accel_get_default_speed