Lines Matching refs:scroll
98 if (device->scroll.method != LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN)
101 switch(device->scroll.button_scroll_state) {
105 /* if the button is down but scroll is not active, we're within the
107 scroll buttons */
111 device->scroll.button_scroll_state = BUTTONSCROLL_SCROLLING;
127 assert(!"invalid scroll button state");
184 /* Use unaccelerated deltas for pointing stick scroll */
1459 if (device->scroll.want_method == device->scroll.method &&
1460 device->scroll.want_button == device->scroll.button &&
1461 device->scroll.want_lock_enabled == device->scroll.lock_enabled)
1467 device->scroll.method = device->scroll.want_method;
1468 device->scroll.button = device->scroll.want_button;
1469 device->scroll.lock_enabled = device->scroll.want_lock_enabled;
1470 evdev_set_button_scroll_lock_enabled(device, device->scroll.lock_enabled);
1686 if (device->scroll.want_button)
1690 if (device->scroll.natural_scrolling_enabled)