Home
last modified time | relevance | path

Searched refs:ntouches (Results 1 – 6 of 6) sorted by relevance

/third_party/libinput/src/
Devdev-mt-touchpad-gestures.c1052 unsigned int ntouches; in tp_gesture_handle_state_none() local
1055 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()
Devdev-mt-touchpad.c236 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() member
2933 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 …]
Devdev-mt-touchpad.h304 unsigned int ntouches; /* no slots inc. fakes */ member
546 for (unsigned int _i = 0; _i < (_tp)->ntouches && (_t = &(_tp)->touches[_i]); _i++)
Devdev.c2656 int ntouches; in evdev_device_get_touch_count() local
2661 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()
Devdev-mt-touchpad-tap.c1400 return min(tp->ntouches, 3U); /* we only do up to 3 finger tap */ in tp_tap_config_count()
/third_party/libinput/doc/user/
Dtools.rst115 … ELAN Touchscreen seat0 default group15 cap:t size 305x172mm ntouches 10 calib