Lines Matching defs:button
171 int button,
176 button,
182 (unsigned int)button,
189 unsigned int button,
194 down_count = evdev_update_key_down_count(device, button, state);
198 pointer_notify_button(&device->base, time, button, state);
223 /* Where the button lock is enabled, we wrap the buttons into
252 if (device->scroll.button < BTN_MOUSE + 5) {
254 * since the button could also be used for regular clicking. */
259 /* Special case: if middle button emulation is enabled and
260 * our scroll button is the left or right button, we only
261 * get here *after* the middle button timeout has expired
262 * for that button press. The time passed is the button-down
267 (device->scroll.button == BTN_LEFT ||
268 device->scroll.button == BTN_RIGHT)) {
288 "invalid state IDLE for button up\n");
294 /* If the button is released quickly enough or
296 * button press/release events. */
299 device->scroll.button,
302 device->scroll.button,
319 unsigned int button,
323 button == device->scroll.button) {
328 evdev_pointer_post_button(device, time, button, state);
779 /* Mice without a scroll wheel but with middle button have on-button
791 uint32_t button)
795 evdev->scroll.want_button = button;
907 device->scroll.button = evdev_scroll_get_default_button((struct libinput_device *)device);
908 device->scroll.want_button = device->scroll.button;
1898 /* The EVDEV_UDEV_TAG_JOYSTICK is set when a joystick or gamepad button
2092 /* want button scrolling config option */