Function input_sys::libinput_device_config_calibration_get_matrix [] [src]

pub unsafe extern "C" fn libinput_device_config_calibration_get_matrix(
    device: *mut libinput_device,
    matrix: *mut f32
) -> c_int

@ingroup config

Return the current calibration matrix for this device.

@param device The device to configure @param matrix Set to the array representing the first two rows of a 3x3 matrix as described in libinput_device_config_calibration_set_matrix().

@return 0 if no calibration is set and the returned matrix is the identity matrix, 1 otherwise

@see libinput_device_config_calibration_has_matrix @see libinput_device_config_calibration_set_matrix @see libinput_device_config_calibration_get_default_matrix