Function input_sys::libinput_device_config_rotation_get_angle [] [src]

pub unsafe extern fn libinput_device_config_rotation_get_angle(device: *mut libinput_device)
                                                               -> c_uint

@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