Home
last modified time | relevance | path

Searched refs:middlebutton (Results 1 – 9 of 9) sorted by relevance

/third_party/libinput/src/
Devdev-middle-button.c87 middlebutton_state_to_str(device->middlebutton.state)); in middlebutton_state_error()
93 libinput_timer_set(&device->middlebutton.timer, in middlebutton_timer_set()
100 libinput_timer_cancel(&device->middlebutton.timer); in middlebutton_timer_cancel()
112 device->middlebutton.first_event_time = now; in middlebutton_set_state()
126 device->middlebutton.state = state; in middlebutton_set_state()
195 device->middlebutton.first_event_time, in evdev_middlebutton_ldown_handle_event()
205 device->middlebutton.first_event_time, in evdev_middlebutton_ldown_handle_event()
237 device->middlebutton.first_event_time, in evdev_middlebutton_rdown_handle_event()
246 device->middlebutton.first_event_time, in evdev_middlebutton_rdown_handle_event()
259 device->middlebutton.first_event_time, in evdev_middlebutton_rdown_handle_event()
[all …]
Devdev-mt-touchpad-buttons.c650 if (device->middlebutton.want_enabled) in tp_init_softbuttons()
822 if (device->middlebutton.want_enabled == in tp_clickpad_middlebutton_apply_config()
823 device->middlebutton.enabled) in tp_clickpad_middlebutton_apply_config()
826 device->middlebutton.enabled = device->middlebutton.want_enabled; in tp_clickpad_middlebutton_apply_config()
846 evdev->middlebutton.want_enabled = true; in tp_clickpad_middlebutton_set()
849 evdev->middlebutton.want_enabled = false; in tp_clickpad_middlebutton_set()
876 device->middlebutton.enabled_default = false; in tp_init_clickpad_middlebutton_emulation()
877 device->middlebutton.want_enabled = false; in tp_init_clickpad_middlebutton_emulation()
878 device->middlebutton.enabled = false; in tp_init_clickpad_middlebutton_emulation()
880 device->middlebutton.config.available = tp_clickpad_middlebutton_is_available; in tp_init_clickpad_middlebutton_emulation()
[all …]
Devdev.c247 if (device->middlebutton.enabled && in evdev_button_scroll_button()
2975 libinput_timer_cancel(&device->middlebutton.timer); in evdev_device_remove()
3018 libinput_timer_destroy(&device->middlebutton.timer); in evdev_device_destroy()
Devdev.h273 } middlebutton; member
/third_party/libinput/tools/
Dshared.c108 options->middlebutton = -1; in tools_init_options()
167 options->middlebutton = 1; in tools_parse_option()
170 options->middlebutton = 0; in tools_parse_option()
433 if (options->middlebutton != -1) in tools_device_apply_config()
435 options->middlebutton); in tools_device_apply_config()
Dshared.h102 int middlebutton; member
/third_party/libinput/completion/zsh/
D_libinput76 + '(middlebutton)' \
77 '--enable-middlebutton[Enable middle button emulation]' \
78 '--disable-middlebutton[Disable middle button emulation]' \
/third_party/libinput/test/
Dtest-pointer.c2217 START_TEST(middlebutton) in START_TEST() argument
3542 litest_add(middlebutton, LITEST_BUTTON, LITEST_CLICKPAD); in TEST_COLLECTION()
/third_party/libinput/patch/diff_libinput_mmi/libinput/
Dlibinput_0000.diff4432 } middlebutton;