Lines Matching full:fingers
334 int fact, int *z, int *fingers) in atp_calculate_abs() argument
348 *fingers = 0; in atp_calculate_abs()
357 * two fingers with no gap will be detected. Also, my in atp_calculate_abs()
372 (*fingers)++; in atp_calculate_abs()
379 if (*fingers < 1) /* No need to continue if no fingers are found. */ in atp_calculate_abs()
432 static inline void atp_report_fingers(struct input_dev *input, int fingers) in atp_report_fingers() argument
434 input_report_key(input, BTN_TOOL_FINGER, fingers == 1); in atp_report_fingers()
435 input_report_key(input, BTN_TOOL_DOUBLETAP, fingers == 2); in atp_report_fingers()
436 input_report_key(input, BTN_TOOL_TRIPLETAP, fingers > 2); in atp_report_fingers()
519 int key, fingers; in atp_complete_geyser_1_2() local
602 fingers = max(x_f, y_f); in atp_complete_geyser_1_2()
604 if (x && y && fingers == dev->fingers_old) { in atp_complete_geyser_1_2()
621 atp_report_fingers(dev->input, fingers); in atp_complete_geyser_1_2()
638 if (fingers != dev->fingers_old) in atp_complete_geyser_1_2()
640 dev->fingers_old = fingers; in atp_complete_geyser_1_2()
659 int key, fingers; in atp_complete_geyser_3_4() local
722 fingers = max(x_f, y_f); in atp_complete_geyser_3_4()
724 if (x && y && fingers == dev->fingers_old) { in atp_complete_geyser_3_4()
741 atp_report_fingers(dev->input, fingers); in atp_complete_geyser_3_4()
758 if (fingers != dev->fingers_old) in atp_complete_geyser_3_4()
760 dev->fingers_old = fingers; in atp_complete_geyser_3_4()