Searched refs:ntouches (Results 1 – 6 of 6) sorted by relevance
1052 unsigned int ntouches; in tp_gesture_handle_state_none() local1055 ntouches = tp_gesture_get_active_touches(tp, touches, 4); in tp_gesture_handle_state_none()1060 if (ntouches == 0) in tp_gesture_handle_state_none()1063 if (ntouches == 1) { in tp_gesture_handle_state_none()1074 if (ntouches == 2) in tp_gesture_handle_state_none()1097 if (ntouches > 2) { in tp_gesture_handle_state_none()1100 for (i = 1; i < ntouches && i < tp->num_slots; i++) { in tp_gesture_handle_state_none()
236 return &tp->touches[min(tp->slot, tp->ntouches - 1)]; in tp_current_touch()242 assert(slot < tp->ntouches); in tp_get_touch()684 for (i = start; i < tp->ntouches; i++) { in tp_process_fake_touches()1281 for (i = tp->ntouches - 1; i >= 0; i--) { in tp_unhover_pressure()1380 for (i = tp->ntouches - 1; i >= 0; i--) { in tp_unhover_fake_touches()1440 for (i = start; i < tp->ntouches; i++) { in tp_position_fake_touches()2877 int ntouches; in tp_init_slots() member2933 n_btn_tool_touches = m->ntouches; in tp_init_slots()2938 tp->ntouches = max(tp->num_slots, n_btn_tool_touches); in tp_init_slots()2939 tp->touches = zalloc(tp->ntouches * sizeof(struct tp_touch)); in tp_init_slots()[all …]
304 unsigned int ntouches; /* no slots inc. fakes */ member546 for (unsigned int _i = 0; _i < (_tp)->ntouches && (_t = &(_tp)->touches[_i]); _i++)
2656 int ntouches; in evdev_device_get_touch_count() local2661 ntouches = libevdev_get_num_slots(device->evdev); in evdev_device_get_touch_count()2662 if (ntouches == -1) { in evdev_device_get_touch_count()2667 ntouches = 0; in evdev_device_get_touch_count()2669 ntouches = 1; in evdev_device_get_touch_count()2672 return ntouches; in evdev_device_get_touch_count()
1400 return min(tp->ntouches, 3U); /* we only do up to 3 finger tap */ in tp_tap_config_count()
115 … ELAN Touchscreen seat0 default group15 cap:t size 305x172mm ntouches 10 calib