MSP430™CapTIvateSoftwareLibraryAPIGuide 1_70_00_03

Functions
CAPT_Trackpad

This file contains higher-level sensor processing APIs for trackpad sensor. More...

## Functions
void | CAPT_processTrackPadSensor (tSensor *)
void | CAPT_processTrackPadGesture (tSensor *pTrackpad)
| Process the track/gesture pad gestures. More...
bool | CAPT_writeTrackPadData (uint8_t ui8SensorID)
| Send trackpad position and gesture. More...

## Detailed Description

This file contains higher-level sensor processing APIs for trackpad sensor.

Version
  VERSION Released on RELEASE_DATE

## Function Documentation

## § CAPT_processTrackPadSensor()

void CAPT_processTrackPadSensor | ( | tSensor * |  | ) |

Perform Trackpad processing

Does all TrackPad related processing: Position, Track, Filter User can override with custom processing. Refer to touch:CAPT_registerTrackPadSensorProcessing() in touch.c

Parameters

  pSensor | is a pointer to the TrackPad Sensor to process

Returns
  None.

Referenced by CAPT_initUI().

## § CAPT_processTrackPadGesture()

void CAPT_processTrackPadGesture | ( | tSensor * | pTrackpad | ) |

Process the track/gesture pad gestures.

This function applies gesture algorithms to the results of trackpad processing. User can override with custom gesture processing. Refer to touch:CAPT_registerTrackPadGestureProcessing() in touch.c

Parameters

  pSensor | is a pointer to the sensor to query

Returns
  None

Referenced by CAPT_initUI().

## § CAPT_writeTrackPadData()

bool CAPT_writeTrackPadData | ( | uint8_t | ui8SensorID | ) |

Send trackpad position and gesture.

This function sends trackpad position and gesture data using trackpad protocol to the GUI.

Parameters

  None | - Trackpad sensor ID is determined during Trackpad Interface Initialization

Returns
  None

© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale