Home
last modified time | relevance | path

Searched +full:libinput +full:- +full:test +full:- +full:suite +full:- +full:trackpoint (Results 1 – 6 of 6) sorted by relevance

/third_party/libinput/doc/user/
Dtest-suite.rst1 .. _test-suite:
4 libinput test suite
7 libinput's primary test suite can be invoked with
11 $ sudo ./builddir/libinput-test-suite
13 When developing libinput, the ``libinput-test-suite`` should always be
15 the number of tests to run can be filtered, see :ref:`test-filtering`.
17 touchpad tap-to-click) while hacking on that specific feature and only run
18 the full suite when development is done finished.
20 .. note:: The test suite relies on udev and the kernel, specifically uinput.
22 interfere with your running session. The test suite is not suitable
[all …]
Dmeson.build2 sphinx = find_program('sphinx-build-3', 'sphinx-build', required : false)
4 …error('Program "sphinx-build" not found or not executable. Try building with -Ddocumentation=false…
18 git_version_page = vcs_tag(command : ['git', 'log', '-1', '--format=%H'],
32 # We can't use htaccess on the server, so let's auto-generate a 404 list
36 # File list is: [current-sphinx-input-file, old-generated-page]
39 [ 'absolute-axes.rst', 'absolute_axes.html'],
40 [ 'absolute-coordinate-ranges.rst', 'absolute_coordinate_ranges.html'],
43 [ 'button-debouncing.rst', 'button_debouncing.html'],
44 [ 'clickpad-softbuttons.rst', 'clickpad_softbuttons.html'],
48 [ 'device-configuration-via-udev.rst', 'udev_config.html'],
[all …]
/third_party/libinput/
Dmeson.build1 project('libinput', 'c', project
9 dir_data = get_option('prefix') / get_option('datadir') / 'libinput'
11 dir_overrides = get_option('prefix') / get_option('sysconfdir') / 'libinput'
12 dir_libexec = get_option('prefix') / get_option('libexecdir') / 'libinput'
17 dir_src_test = meson.current_source_dir() / 'test'
19 dir_gitlab_ci = meson.current_source_dir() / '.gitlab-ci'
21 dir_udev = get_option('udev-dir')
31 # We use libtool-version numbers because it's easier to understand.
44 libinput_so_version = '@0@.@1@.@2@'.format((libinput_lt_c - libinput_lt_a),
50 '-Wno-unused-parameter',
[all …]
D.gitlab-ci.yml9 # To change the gitlab CI, edit .gitlab-ci/ci.template and/or .gitlab-ci/config.yaml
10 # and run ci-fairy generate-template. For details, see
11 # https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#templating-gitlab-ci-yml
14 # - we really want to run dnf/apt/... only once, updating on the test runner for
18 # This is handled by the ci-templates, ensuring containers are only rebuilt
21 # - GitLab only allows one script: set per job but we have a bunch of commands
22 # we need to re-run for each build (meson && ninja && etc). YAML cannot merge
27 # MESON_ARGS=-Denable-something=true
28 # NINJA_ARGS=dist ... to run 'ninja -C builddir dist'
35 # e.g. fedora:31@build-default
[all …]
/third_party/libinput/test/
Dtest-device.c29 #include <libinput.h>
34 #include "libinput-util.h"
42 device = dev->libinput_device; in START_TEST()
56 device = dev->libinput_device; in START_TEST()
72 /* The wacom devices in the test suite are external */ in START_TEST()
73 if (libevdev_get_id_vendor(dev->evdev) != VENDOR_ID_WACOM && in START_TEST()
78 device = dev->libinput_device; in START_TEST()
92 /* The wacom devices in the test suite are external */ in START_TEST()
93 if (libevdev_get_id_vendor(dev->evdev) == VENDOR_ID_WACOM || in START_TEST()
97 device = dev->libinput_device; in START_TEST()
[all …]
/third_party/libinput/src/
Devdev-mt-touchpad.c2 * Copyright © 2014-2015 Red Hat, Inc.
36 #include "evdev-mt-touchpad.h"
37 #include "util-input-event.h"
55 (t->history.index - offset + TOUCHPAD_HISTORY_LENGTH) % in tp_motion_history_offset()
58 return &t->history.samples[offset_index]; in tp_motion_history_offset()
75 return filter_dispatch(tp->device->pointer.filter, in tp_filter_motion()
93 return filter_dispatch_constant(tp->device->pointer.filter, in tp_filter_motion_unaccelerated()
111 return filter_dispatch_scroll(tp->device->pointer.filter, in tp_filter_scroll()
126 /* Don't do this on single-touch or semi-mt devices */ in tp_calculate_motion_speed()
127 if (!tp->has_mt || tp->semi_mt) in tp_calculate_motion_speed()
[all …]