Lines Matching defs:fingers

89 	u_char	sp_finger_count; /* number of fingers seen */
193 * fingers on the trackpad to gather all the data.
435 * 1 0x08 image sensor image sensor tracks 5 fingers, but only
869 SYSCTL_DESCR("Map two fingers to middle button"),
1192 * Extract the number of fingers from the current packet and return
1200 unsigned fingers;
1202 fingers = 0;
1206 * If w is zero and z says no fingers then return
1207 * no fingers, w == can also mean 2 fingers... confusing.
1221 /* to get here we must have 2 fingers at least */
1222 fingers = 2;
1226 fingers = psc->packet[1] & 0x0f;
1233 return 0; /* pretend there are no fingers */
1237 fingers = 1;
1250 fingers = 2;
1252 fingers = 3;
1257 return fingers;
1345 * fingers but no other packets pass this
1400 * two or more fingers on the touchpad then
1462 * are multiple fingers on the touchpad, only the primary
1655 /* Clear fingers */
1800 int fingers;
1813 fingers = 1;
1815 fingers = 0;
1820 if (fingers == 0 || (sc->flags & SYN_FLAG_HAS_PALM_DETECT) == 0)
1821 return (fingers);
1841 * Detect 2 and 3 fingers if supported, but only if multiple
1842 * fingers appear within the tap gesture time period.
1851 fingers = 2;
1855 fingers = 3;
1863 fingers = sc->prev_fingers <= 1 ? 1 : sc->prev_fingers;
1868 return (fingers);
1873 struct synaptics_packet *sp, int fingers)
1881 if (fingers > 0 && (fingers == sc->prev_fingers)) {
1886 if (fingers && sc->prev_fingers == 0) {
1910 if (fingers == 0 && sc->prev_fingers != 0) {
1915 * Ignore finger movement if multiple fingers were
1917 * of the fingers).
1949 * the number of fingers detected.
2260 int fingers, palm, buttons, changed;
2290 * On some pads, this will return the number of fingers
2293 fingers = synaptics_finger_detect(sc, sp, &palm);
2299 synaptics_gesture_detect(sc, sp, fingers);
2314 sc->prev_fingers = fingers;
2321 if (fingers > 0) {
2326 * Check if there are two fingers, if there are then
2328 * don't scroll iff one of the fingers is in the