Lines Matching defs:params
207 } params;
654 limit = tp->params.mtbtn_maxdist << 12;
1207 ((tp->params.f2width &&
1208 input->touch.width >= tp->params.f2width)
1209 || (tp->params.f2pressure &&
1210 input->touch.pressure >= tp->params.f2pressure)))
1622 tp->params.left_edge = V_EDGE_RATIO_DEFAULT;
1623 tp->params.right_edge = V_EDGE_RATIO_DEFAULT;
1624 tp->params.bottom_edge = ((tp->features & WSTPAD_SOFTBUTTONS)
1626 tp->params.top_edge = ((tp->features & WSTPAD_TOPBUTTONS)
1628 tp->params.center_width = CENTER_RATIO_DEFAULT;
1642 tp->params.mtbtn_maxdist = h_res * 35;
1644 tp->params.mtbtn_maxdist = -1; /* not available */
1651 offset = width * tp->params.left_edge / 4096;
1653 offset = width * tp->params.right_edge / 4096;
1655 offset = height * tp->params.bottom_edge / 4096;
1658 offset = height * tp->params.top_edge / 4096;
1661 offset = width * abs(tp->params.center_width) / 8192;
1671 if (tp->params.mtbtn_maxdist < 0) {
1673 } else if (tp->params.mtbtn_maxdist == 0) {
1675 tp->params.mtbtn_maxdist = diag / 4;
1785 tp->params.left_edge = val;
1788 tp->params.right_edge = val;
1791 tp->params.top_edge = val;
1794 tp->params.bottom_edge = val;
1797 tp->params.center_width = val;
1806 tp->params.f2width = val;
1809 tp->params.f2pressure = val;
1831 tp->params.mtbtn_maxdist = val;
1883 *pval = tp->params.left_edge;
1886 *pval = tp->params.right_edge;
1889 *pval = tp->params.top_edge;
1892 *pval = tp->params.bottom_edge;
1895 *pval = tp->params.center_width;
1904 *pval = tp->params.f2width;
1907 *pval = tp->params.f2pressure;
1928 *pval = tp->params.mtbtn_maxdist;