pub unsafe extern "C" fn libinput_device_config_dwtp_get_default_enabled(
device: *mut libinput_device
) -> libinput_config_dwtp_state
Expand description
@ingroup config
Check if the disable-while trackpointing feature is enabled on this device by default. If the device does not support disable-while-trackpointing, this function returns @ref LIBINPUT_CONFIG_DWTP_DISABLED.
@param device The device to configure @return @ref LIBINPUT_CONFIG_DWTP_DISABLED if disabled, @ref LIBINPUT_CONFIG_DWTP_ENABLED if enabled.
@see libinput_device_config_dwtp_is_available @see libinput_device_config_dwtp_set_enabled @see libinput_device_config_dwtp_get_enabled
@since 1.21