Lines Matching defs:count
165 * input_mt_report_finger_count() - report contact count
167 * @count: the number of contacts
169 * Reports the contact count via BTN_TOOL_FINGER, BTN_TOOL_DOUBLETAP,
175 void input_mt_report_finger_count(struct input_dev *dev, int count)
177 input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1);
178 input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2);
179 input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3);
180 input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4);
181 input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5);
188 * @use_count: report number of active contacts as finger count
191 * ABS_PRESSURE. Touchpad finger count is emulated if use_count is true.
200 int oldid, count, i;
207 count = 0;
219 count++;
222 input_event(dev, EV_KEY, BTN_TOUCH, count > 0);
225 if (count == 0 &&
235 count = 1;
238 input_mt_report_finger_count(dev, count);