Function input_sys::libinput_device_config_rotation_is_available [] [src]

pub unsafe extern fn libinput_device_config_rotation_is_available(device: *mut libinput_device)
                                                                  -> c_int

@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