The mtouch filter subsection specifies the configuration to apply to the filters of touch devices supported by the platform.
This section must begin with begin filter and end with end filter.
begin filter type = edge_swipe_detect options = xl_bezel=50,xl_speed=20,xh_bezel=50,xh_speed=20,yl_bezel=80,yl_speed=20,yh_bezel=50,yh_speed=20,filter_order=2 end filter
The following are valid parameters that can be configured under the filter subsection:
Parameter | Description | Type | Possible value(s) |
---|---|---|---|
type | The series of filters that are applied to the touch coordinates. | Integer |
|
options |
Filter-specific options. The available filter options depend on the filter type. The format for configuring the filter options is: options= filter_option=value or, if there are multiple options to specify, then separate each option-value pair by a comma: options= filter_option1=value,filter_option2=value |
String |
Based on your filter type, see below for the valid filter options. |
Valid filter options for configuration depend on the filter type. See below for the filter options that are acceptable in the options parameter for the mtouch filter subsection.
Filter option | Description | Default |
---|---|---|
scale | FP scale factor | 256 |
min_gain | Minimal gain | 8 |
low_speed | Low speed threshold | 32 |
Filter option | Description | Default |
---|---|---|
filter_order | Filter Order | 2 |
Filter option | Description | Default |
---|---|---|
xl_enable | Apply detection | 1 |
xl_bezel | Bezel width | 50 |
xl_speed | Speed threshold | 25 |
xl_jitter | Jitter control | 0 |
xl_reject_physical_bezel | Reject physical bezel | 0 |
Filter option | Description | Default |
---|---|---|
xh_enable | Apply detection | 1 |
xh_bezel | Bezel width | 50 |
xh_speed | Speed threshold | 25 |
xh_jitter | Jitter control | 0 |
xh_reject_physical_bezel | Reject physical bezel | 0 |
Filter option | Description | Default |
---|---|---|
yl_enable | Apply detection | 1 |
yl_bezel | Bezel width | 80 |
yl_speed | Speed threshold | 25 |
yl_jitter | Jitter control | 0 |
yl_reject_physical_bezel | Reject physical bezel | 0 |
Filter option | Description | Default |
---|---|---|
yh_enable | Apply detection | 1 |
yh_bezel | Bezel width | 50 |
yh_speed | Speed threshold | 25 |
yh_jitter | Jitter control | 0 |
yh_reject_physical_bezel | Reject physical bezel | 0 |
Filter option | Description | Default |
---|---|---|
proc_noise_x_var | Process noise variance (X) | 32 |
proc_noise_y_var | Process noise variance (Y) | 32 |
meas_noise_x_var | Measurement noise variance(X) | 100 |
meas_noise_y_var | Measurement noise variance (Y) | 100 |
Filter option | Description | Default |
---|---|---|
slot_threshold_1 | Adaptive speed threshold 1 | 30 |
slot_threshold_2 | Adaptive speed threshold 2 | 20 |
slot_threshold_3 | Adaptive speed threshold 3 | 10 |
slot_threshold_4 | Adaptive speed threshold 4 | 5 |