Home
last modified time | relevance | path

Searched refs:nfingers (Results 1 – 7 of 7) sorted by relevance

/third_party/libinput/tools/
Dlibinput-debug-gui.c121 int nfingers; member
126 int nfingers; member
319 for (i = 0; i < w->swipe.nfingers; i++) { in draw_gestures()
337 if (w->pinch.nfingers > 0) { in draw_gestures()
1236 int nfingers; in handle_event_swipe() local
1239 nfingers = libinput_event_gesture_get_finger_count(g); in handle_event_swipe()
1243 w->swipe.nfingers = nfingers; in handle_event_swipe()
1254 w->swipe.nfingers = 0; in handle_event_swipe()
1267 int nfingers; in handle_event_pinch() local
1270 nfingers = libinput_event_gesture_get_finger_count(g); in handle_event_pinch()
[all …]
/third_party/libinput/src/
Devdev-mt-touchpad-buttons.c1088 unsigned int nfingers = 0; in tp_clickfinger_set_button() local
1103 nfingers++; in tp_clickfinger_set_button()
1113 if (nfingers != 2) in tp_clickfinger_set_button()
1117 nfingers = 2; in tp_clickfinger_set_button()
1119 nfingers = 1; in tp_clickfinger_set_button()
1122 switch (nfingers) { in tp_clickfinger_set_button()
Devdev-mt-touchpad-tap.c109 int nfingers, in tp_tap_notify() argument
120 if (nfingers > 3) in tp_tap_notify()
123 button = button_map[tp->tap.map][nfingers - 1]; in tp_tap_notify()
126 tp->tap.buttons_pressed |= (1 << nfingers); in tp_tap_notify()
128 tp->tap.buttons_pressed &= ~(1 << nfingers); in tp_tap_notify()
/third_party/libinput/test/
Dtest-touchpad-buttons.c964 int nfingers = _i; /* ranged test */ in START_TEST() local
974 if (nfingers > 1) { in START_TEST()
983 if (nfingers > 2) { in START_TEST()
1001 switch (nfingers) { in START_TEST()
1003 if (nslots >= nfingers) in START_TEST()
1007 if (nslots >= nfingers) in START_TEST()
1024 if (nfingers > 3) { in START_TEST()
1033 if (nfingers > 2) { in START_TEST()
Dtest-touchpad-tap.c2136 int nfingers = _i; /* ranged test */ in START_TEST() local
2138 if (nfingers > litest_slot_count(dev)) in START_TEST()
2145 switch(nfingers) { in START_TEST()
2178 switch(nfingers) { in START_TEST()
Dlitest.h750 int nfingers);
Dlitest.c3578 int nfingers) in litest_is_gesture_event() argument
3588 if (nfingers != -1) in litest_is_gesture_event()
3590 nfingers); in litest_is_gesture_event()