3.3.5.2 SCROLLER_x_PARAMS

The individual scroller sensor configurations given below can be set in this field.

  1. Scroller type

    Defines the types of scroller that is used in the project. The two types include:

    • Slider
    • Wheel
  2. Start Key

    Gives the first segment (Key index) associated with the slider/wheel sensor.

  3. Number of keys

    Gives the size of the Slider/Wheel used.

    E.g., 4 when four keys are used to realize the Slider/Wheel.

  4. Resolution and Dead band

    Gives the combined resolution and dead-band details of the scroller used.

    1. Resolution

      Defines the resolution of the scroller in bits. A value of 8 indicates 256 positions. The scroller value will be reported from 0 to 255.

    2. Dead band

      Defines the inactive area in percentage on both ends of the Slider where no change in position is reported. If the dead band is 10, then the inactive area is 10% of the slider length on each end. Dead band is not applicable for Wheel.

      ParameterRange/Value*
      Resolution

      SCR_RESOL_2_BIT, SCR_RESOL_3_BIT, SCR_RESOL_4_BIT, SCR_RESOL_5_BIT, SCR_RESOL_6_BIT, SCR_RESOL_7_BIT, SCR_RESOL_8_BIT, SCR_RESOL_9_BIT, SCR_RESOL_10_BIT, SCR_RESOL_11_BIT, SCR_RESOL_12_BIT

      Dead band

      SCR_DB_1_PERCENT, SCR_DB_2_PERCENT, SCR_DB_3_PERCENT, SCR_DB_4_PERCENT, SCR_DB_5_PERCENT, SCR_DB_6_PERCENT, SCR_DB_7_PERCENT, SCR_DB_8_PERCENT, SCR_DB_9_PERCENT, SCR_DB_10_PERCENT, SCR_DB_11_PERCENT, SCR_DB_12_PERCENT, SCR_DB_13_PERCENT, SCR_DB_14_PERCENT, SCR_DB_15_PERCENT

  5. Position Hysteresis

    Position Hysteresis is applied when the direction of the position is changed and when the scroller is touched. This parameter determines the number of positions that must be moved in opposite direction before the new touch position is reported.

  6. Detect Threshold

    By default, Threshold should be set equal to threshold value of the underlying keys. Then the parameter has to be tuned based on the actual contact size of the touch when moved over the scroller. The contact size of the moving touch can be observed from “contact_size” parameter on scroller data structure. This value needs to be tuned less than the lowest contact size reported by the scroller module.