Home
last modified time | relevance | path

Searched refs:middlebutton (Results 1 – 8 of 8) 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()
821 if (device->middlebutton.want_enabled == in tp_clickpad_middlebutton_apply_config()
822 device->middlebutton.enabled) in tp_clickpad_middlebutton_apply_config()
825 device->middlebutton.enabled = device->middlebutton.want_enabled; in tp_clickpad_middlebutton_apply_config()
845 evdev->middlebutton.want_enabled = true; in tp_clickpad_middlebutton_set()
848 evdev->middlebutton.want_enabled = false; in tp_clickpad_middlebutton_set()
875 device->middlebutton.enabled_default = false; in tp_init_clickpad_middlebutton_emulation()
876 device->middlebutton.want_enabled = false; in tp_init_clickpad_middlebutton_emulation()
877 device->middlebutton.enabled = false; in tp_init_clickpad_middlebutton_emulation()
879 device->middlebutton.config.available = tp_clickpad_middlebutton_is_available; in tp_init_clickpad_middlebutton_emulation()
[all …]
Devdev.c244 if (device->middlebutton.enabled && in evdev_button_scroll_button()
2825 libinput_timer_cancel(&device->middlebutton.timer); in evdev_device_remove()
2866 libinput_timer_destroy(&device->middlebutton.timer); in evdev_device_destroy()
Devdev.h271 } middlebutton; member
/third_party/libinput/tools/
Dshared.c81 options->middlebutton = -1; in tools_init_options()
140 options->middlebutton = 1; in tools_parse_option()
143 options->middlebutton = 0; in tools_parse_option()
406 if (options->middlebutton != -1) in tools_device_apply_config()
408 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.c1992 START_TEST(middlebutton) in START_TEST() argument
3188 litest_add("pointer:middlebutton", middlebutton, LITEST_BUTTON, LITEST_CLICKPAD); in TEST_COLLECTION()