-
#include "CirquePinnacle.h" -
void PinnacleTouch::detectFingerStylus(bool enableFinger = true, bool enableStylus = true, uint16_t sampleRate = 100);
This function will configure the Pinnacle ASIC to detect either finger, stylus, or both.
Tip
Consider adjusting the ADC matrix’s gain to enhance performance/results using
setAdcGain().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:¶
- bool enableFinger = true¶
trueenables the Pinnacle ASIC’s measurements to detect if the touch event was caused by a finger or 5.25mm stylus.falsedisables this feature. Default istrue.- bool enableStylus = true¶
trueenables the Pinnacle ASIC’s measurements to detect if the touch event was caused by a 2mm stylus.falsedisables this feature. Default istrue.- uint16_t sampleRate = 100¶
See the setSampleRate() as this parameter directly calls that function.