Function libinput_device_config_rotation_get_angle
pub unsafe extern "C" fn libinput_device_config_rotation_get_angle(
device: *mut libinput_device,
) -> u32
Expand description
@ingroup config
Get the current rotation of a device in degrees clockwise off the logical neutral position. If this device does not support rotation, the return value is always 0.
@param device The device to configure @return The angle in degrees clockwise
@see libinput_device_config_rotation_is_available @see libinput_device_config_rotation_set_angle @see libinput_device_config_rotation_get_default_angle
@since 1.4