SLAA877 December   2018 MSP430FR2633

 

  1.   Capacitive Touch Gesture Software and Tuning
    1.     Trademarks
    2. 1 Introduction
    3. 2 Gestures
      1. 2.1 Theory of Operation
      2. 2.2 Sensor Gesture Processing
      3. 2.3 Gesture Software Overview
        1. 2.3.1 Slider Gesture
        2. 2.3.2 Wheel Gesture
        3. 2.3.3 Button Gesture
        4. 2.3.4 Sensor Handlers
        5. 2.3.5 How to Add Gestures to the CapTIvate Framework
    4. 3 Tuning
      1. 3.1 CapTIvate Design Center
        1. 3.1.1 Enabling Gesture Sensor Output
        2. 3.1.2 CDC Plot Channel Assignments
      2. 3.2 Tuning Process
        1. 3.2.1 Tap
        2. 3.2.2 Double Tap
        3. 3.2.3 Swipe
        4. 3.2.4 Slide
    5. 4 Example Demonstration Software Installation
      1. 4.1 Project Directories
      2. 4.2 Import the Project Into CCS

Double Tap

The double-tap gesture is controlled by two timing parameters: ui16TouchSampleCount_Min and ui16DoubleTapDelayCount_Max. The data channels used for tap tuning are (000) finger touch, (001) sample count, (002) tap gesture detect, and (003) double-tap gesture detect.

Figure 8 show a valid double tap gesture. The first finger touch and release meets the minimum timing parameter, followed by a second finger touch. The maximum delay allowed between finger release and second touch was not exceeded, so a valid gesture is reported.

valid-double-tap.gifFigure 8. Valid Double Tap

Figure 9 shows an invalid double tap gesture that appears as only a single tap. The first finger touch and release meets the minimum timing parameter; however, the second touch never occurs. Because this is the pattern for a single tap event, this gesture is reported as a tap gesture. The tap report is delayed until the maximum timing parameter is exceeded.

invalid-double-tap-missing-second-touch.gifFigure 9. Invalid Double Tap: Missing Second Touch

Figure 10 shows an invalid double tap gesture that appears as two single taps close together. The first finger touch and release meets the minimum timing parameter; however, the second touch occurs after the maximum timing parameter, so the first touch is reported as a single tap gesture. The second finger touch also meet the minimum timing parameter, but because no additional finger touches occur, the maximum timing parameter is violated again and the touch is reported as a single tap gesture.

invalid-double-tap-time-between-taps-too-long.gifFigure 10. Invalid Double Tap: Time Between Taps Too Long