-
#include "CirquePinnacle.h"
-
PinnacleDataMode PinnacleTouch::getDataMode();
This function describes which mode for which kind of data to report.
Important
When switching from
PINNACLE_ANYMEAS
toPINNACLE_RELATIVE
orPINNACLE_ABSOLUTE
all configurations are reset, and must be re-configured by usingabsoluteModeConfig()
orrelativeModeConfig()
.- Returns:¶
PINNACLE_RELATIVE
(0
) for relative mode (AKA mouse mode)PINNACLE_ANYMEAS
(1
) for anymeas mode (raw ADC measurements)PINNACLE_ABSOLUTE
(2
) for absolute mode (X & Y axis positions)PINNACLE_ERROR
(0xFF
) ifbegin()
returnsfalse
(failed to initialize the trackpad)