Home
last modified time | relevance | path

Searched refs:is_press (Results 1 – 8 of 8) sorted by relevance

/third_party/libinput/src/
Devdev-middle-button.c584 bool is_press = state == LIBINPUT_BUTTON_STATE_PRESSED; in evdev_middlebutton_filter_button() local
594 if (is_press) in evdev_middlebutton_filter_button()
600 if (is_press) in evdev_middlebutton_filter_button()
626 if (is_press) in evdev_middlebutton_filter_button()
Devdev-tablet-pad.c333 uint32_t is_press = e->value != 0; in pad_process_key() local
339 pad_button_set_down(pad, button, is_press); in pad_process_key()
Devdev.c202 uint64_t time, int is_press) in evdev_button_scroll_button() argument
211 assert(is_press); in evdev_button_scroll_button()
216 assert(!is_press); in evdev_button_scroll_button()
221 assert(is_press); in evdev_button_scroll_button()
226 assert(!is_press); in evdev_button_scroll_button()
232 if (is_press) { in evdev_button_scroll_button()
Devdev-mt-touchpad.c275 bool is_press) in tp_fake_finger_set() argument
281 if (!is_press) in tp_fake_finger_set()
297 if (is_press) in tp_fake_finger_set()
304 if (is_press) { in tp_fake_finger_set()
/third_party/libinput/tools/
Dlibinput-debug-gui.c1520 bool is_press; in handle_event_button() local
1522 is_press = libinput_event_pointer_get_button_state(p) == LIBINPUT_BUTTON_STATE_PRESSED; in handle_event_button()
1526 w->buttons.l = is_press; in handle_event_button()
1529 w->buttons.r = is_press; in handle_event_button()
1532 w->buttons.m = is_press; in handle_event_button()
1535 w->buttons.other = is_press; in handle_event_button()
1638 bool is_press; in handle_event_tablet() local
1701 is_press = libinput_event_tablet_tool_get_button_state(t) == LIBINPUT_BUTTON_STATE_PRESSED; in handle_event_tablet()
1704 w->buttons.other = is_press; in handle_event_tablet()
1717 bool is_press; in handle_event_tablet_pad() local
[all …]
/third_party/libinput/test/
Dlitest.h688 bool is_press);
693 bool is_press);
707 bool is_press);
Dlitest.c2705 bool is_press) in litest_button_click() argument
2709 { .type = EV_KEY, .code = button, .value = is_press ? 1 : 0 }, in litest_button_click()
2721 bool is_press) in litest_button_click_debounced() argument
2723 litest_button_click(d, button, is_press); in litest_button_click_debounced()
2774 litest_keyboard_key(struct litest_device *d, unsigned int key, bool is_press) in litest_keyboard_key() argument
2778 { .type = EV_KEY, .code = key, .value = is_press ? 1 : 0 }, in litest_keyboard_key()
/third_party/libinput/patch/diff_libinput_mmi/libinput/
Dlibinput_0000.diff3547 + bool is_press)
3566 + if (is_press) {