Home
last modified time | relevance | path

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

/third_party/libinput/tools/
Dlibinput-debug-gui.c1210 bool is_press; in handle_event_button() local
1212 is_press = libinput_event_pointer_get_button_state(p) == LIBINPUT_BUTTON_STATE_PRESSED; in handle_event_button()
1216 w->buttons.l = is_press; in handle_event_button()
1219 w->buttons.r = is_press; in handle_event_button()
1222 w->buttons.m = is_press; in handle_event_button()
1225 w->buttons.other = is_press; in handle_event_button()
1306 bool is_press; in handle_event_tablet() local
1369 is_press = libinput_event_tablet_tool_get_button_state(t) == LIBINPUT_BUTTON_STATE_PRESSED; in handle_event_tablet()
1372 w->buttons.other = is_press; in handle_event_tablet()
1385 bool is_press; in handle_event_tablet_pad() local
[all …]
/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.c272 bool is_press) in tp_fake_finger_set() argument
278 if (!is_press) in tp_fake_finger_set()
294 if (is_press) in tp_fake_finger_set()
301 if (is_press) { in tp_fake_finger_set()
/third_party/libinput/test/
Dlitest.h669 bool is_press);
674 bool is_press);
688 bool is_press);
Dlitest.c2650 bool is_press) in litest_button_click() argument
2654 { .type = EV_KEY, .code = button, .value = is_press ? 1 : 0 }, in litest_button_click()
2666 bool is_press) in litest_button_click_debounced() argument
2668 litest_button_click(d, button, is_press); in litest_button_click_debounced()
2719 litest_keyboard_key(struct litest_device *d, unsigned int key, bool is_press) in litest_keyboard_key() argument
2723 { .type = EV_KEY, .code = key, .value = is_press ? 1 : 0 }, in litest_keyboard_key()