3.3.5.2 SCROLLER_x_PARAMS
The individual scroller sensor configurations given below can be set in this field.
- Scroller typeThis field defines the type of scroller that is used in the project. The two types include,
- Slider and
- Wheel
- Start Key
This field gives the first segment (Key index) associated with the slider/wheel sensor.
- Number of keys
This field gives the size of the Slider/Wheel used. Example: 4 when 4 keys are used to realize Slider/Wheel.
- Resolution and Deadbamd
This field gives the combined resolution and deadband details of the scroller used.
- Resolution
This field 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.
- Deadband
Defines the inactive area in percentage on both ends of the Slider where no change in position is reported. If the deadband is 10, then the inactive area is 10% of the slider length on each end. Deadband not applicable for Wheel.
Parameter Range/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
Deadband 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
- Resolution
- 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.
- 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 should be tuned less than the lowest contact size reported by scroller module.