Home
last modified time | relevance | path

Searched refs:gesture (Results 1 - 6 of 6) sorted by relevance

/third_party/libinput/src/
H A Devdev-mt-touchpad-gestures.c155 if (tp->gesture.started) in tp_gesture_start()
158 switch (tp->gesture.state) { in tp_gesture_start()
162 "%s in unknown gesture mode\n", in tp_gesture_start()
168 tp->gesture.finger_count); in tp_gesture_start()
176 tp->gesture.finger_count, in tp_gesture_start()
182 tp->gesture.finger_count, in tp_gesture_start()
189 tp->gesture.started = true; in tp_gesture_start()
295 delta.x = abs(t->point.x - t->gesture.initial.x); in tp_gesture_mm_moved()
296 delta.y = abs(t->point.y - t->gesture.initial.y); in tp_gesture_mm_moved()
307 delta = device_delta(touch->point, touch->gesture in tp_gesture_get_direction()
[all...]
H A Dlibinput-private-config.c37 if (!device->config.gesture->get_hold_default(device)) in libinput_device_config_gesture_hold_is_available()
56 return device->config.gesture->set_hold_enabled(device, enable); in libinput_device_config_gesture_set_hold_enabled()
65 return device->config.gesture->get_hold_enabled(device); in libinput_device_config_gesture_get_hold_enabled()
74 return device->config.gesture->get_hold_default(device); in libinput_device_config_gesture_get_hold_default_enabled()
H A Devdev-mt-touchpad.h269 } gesture; member
366 } gesture; member
H A Devdev-mt-touchpad-thumb.c219 tp->gesture.state == GESTURE_STATE_NONE) { in tp_thumb_update_touch()
H A Dlibinput-private.h395 struct libinput_device_config_gesture *gesture; member
H A Devdev-mt-touchpad.c2024 libinput_timer_destroy(&tp->gesture.finger_count_switch_timer); in tp_interface_destroy()
2025 libinput_timer_destroy(&tp->gesture.hold_timer); in tp_interface_destroy()
2952 * to ignore the first touches events until a two-finger gesture is in tp_init_slots()
3788 if (tp->gesture.enabled) in tp_init()

Completed in 10 milliseconds