Lines Matching refs:ntouch
967 int ntouch = 0; /* the finger number in touch */ in wsp_intr_callback() local
1009 ntouch = sc->tp_data[params->tp->button - 1]; in wsp_intr_callback()
1011 ntouch = (len - params->tp->offset) / params->tp->fsize; in wsp_intr_callback()
1014 if (ntouch < 0) in wsp_intr_callback()
1015 ntouch = 0; in wsp_intr_callback()
1016 else if (ntouch > MAX_FINGERS) in wsp_intr_callback()
1017 ntouch = MAX_FINGERS; in wsp_intr_callback()
1019 for (i = 0; i != ntouch; i++) { in wsp_intr_callback()
1040 i, ibt, ntouch, f->origin, f->abs_x, f->abs_y, in wsp_intr_callback()
1076 if (ntouch == 2) { in wsp_intr_callback()
1084 switch (ntouch) { in wsp_intr_callback()
1109 if (sc->ntaps < ntouch) { in wsp_intr_callback()
1110 switch (ntouch) { in wsp_intr_callback()
1206 if (ntouch != 0 && in wsp_intr_callback()
1216 if (sc->o_ntouch != ntouch) in wsp_intr_callback()
1220 if (ntouch == 1 && sc->index[0]->tool_major > tun.max_finger_diameter) in wsp_intr_callback()
1223 if (sc->ibtn != 0 && ntouch == 1 && in wsp_intr_callback()
1228 if (ntouch == 2 && sc->sc_status.button != 0) { in wsp_intr_callback()
1284 if (sc->sc_status.button == 0 && ntouch > 0) { in wsp_intr_callback()
1285 if (ntouch == tun.scroll_finger_count || ntouch == tun.horizontal_swipe_finger_count) { in wsp_intr_callback()
1292 …if (ntouch == tun.scroll_finger_count) { /* preference scrolling over swipe if tun.scroll_finger_c… in wsp_intr_callback()
1308 } else if (ntouch == tun.horizontal_swipe_finger_count) { in wsp_intr_callback()
1318 if (ntouch == 3) in wsp_intr_callback()
1321 if (ntouch != tun.horizontal_swipe_finger_count) in wsp_intr_callback()
1324 if (ntouch == 0) in wsp_intr_callback()
1349 if (ntouch == 2 && sc->sc_status.button != 0) { in wsp_intr_callback()
1353 sc->o_ntouch = ntouch; in wsp_intr_callback()