Function input_sys::libinput_device_config_dwt_get_default_enabled[][src]

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

@ingroup config

Check if the disable-while typing feature is enabled on this device by default. If the device does not support disable-while-typing, this function returns @ref LIBINPUT_CONFIG_DWT_DISABLED.

@param device The device to configure @return @ref LIBINPUT_CONFIG_DWT_DISABLED if disabled, @ref LIBINPUT_CONFIG_DWT_ENABLED if enabled.

@see libinput_device_config_dwt_is_available @see libinput_device_config_dwt_set_enabled @see libinput_device_config_dwt_get_enabled