Home
last modified time | relevance | path

Searched refs:active_touches (Results 1 - 2 of 2) sorted by relevance

/third_party/libinput/test/
H A Dlitest-device-alps-3fg.c35 unsigned int active_touches; member
50 alps->active_touches++; in touch_down()
52 if (alps->active_touches == 1) in touch_down()
54 if (alps->active_touches == 2) in touch_down()
60 if (alps->active_touches > 2) { in touch_down()
74 if (alps->active_touches > 2 && in touch_move()
87 assert(alps->active_touches >= 1); in touch_up()
88 alps->active_touches--; in touch_up()
91 if (alps->active_touches > 2 && in touch_up()
/third_party/libinput/src/
H A Devdev-mt-touchpad-gestures.c1427 unsigned int active_touches = 0; in tp_gesture_handle_state() local
1432 active_touches++; in tp_gesture_handle_state()
1435 if (active_touches != tp->gesture.finger_count) { in tp_gesture_handle_state()
1437 if (active_touches == 0) { in tp_gesture_handle_state()
1443 tp->gesture.finger_count = active_touches; in tp_gesture_handle_state()
1455 } else if (active_touches != tp->gesture.finger_count_pending) { in tp_gesture_handle_state()
1456 tp->gesture.finger_count_pending = active_touches; in tp_gesture_handle_state()

Completed in 3 milliseconds