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

Slide

The slide gesture is controlled by two distance parameters: ui16FingerDistance_Min and ui16SlideStepSize_Min. The data channels used for slide tuning are (000) finger touch, (001) sample count, (004) slide left gesture detect, and (005) slide right gesture detect.

Figure 12 shows a valid finger slide left gesture. In this capture the finger touches and moves along the slider, meeting the minimum finger distance parameter. As the finger continues to move, each time the minimum step size parameter is met, a slide left or slide right gesture is reported, depending on the direction of the motion. This gesture can be used with slider and wheel sensors.

valid-slide.gifFigure 12. Valid Slide

Figure 13 shows a comparison of a swipe gesture and a slider gesture.

comparison-slide-and-swipe.gifFigure 13. Comparison of Slide and Swipe