Function libinput_device_config_rotation_is_available
pub unsafe extern "C" fn libinput_device_config_rotation_is_available(
device: *mut libinput_device,
) -> i32
Expand description
@ingroup config
Check whether a device can have a custom rotation applied.
@param device The device to configure @return Non-zero if a device can be rotated, zero otherwise.
@see libinput_device_config_rotation_set_angle @see libinput_device_config_rotation_get_angle @see libinput_device_config_rotation_get_default_angle
@since 1.4