#include "CirquePinnacle.h"
void PinnacleTouch::setCalibrationMatrix(int16_t *matrix, uint8_t len = 46);

Manually sets the compensation matrix (array) of the 46 16-bit unsigned integer values stored in the Pinnacle ASIC’s memory that is used for taking measurements. This matrix is not applicable to PINNACLE_ANYMEAS mode.

Warning

This method is not supported on trackpads manufactured on or after 2025. Defer to isRev2025(). Calling this method on newer trackpads will have no effect.

Parameters:
int16_t *matrix

The array of 16-bit unsigned integers that will be used for compensation calculations when measuring of input events.

uint8_t len = 46

The length of the array passed to the matrix parameter. Default is 46 (the maximum elements used).

See Also

Review the hint in getCalibrationMatrix() from the Pinnacle ASIC’s application note about deciding what values to use.