Home
last modified time | relevance | path

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

/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/doc/user/
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 …]
Dbuilding.rst4 libinput build instructions
12 Instructions on how to build libinput and its tools and how to build against
13 libinput.
16 system-provided libinput with one from the git repository, see
21 ------------------------------------------------------------------------------
22 Distribution repositories for libinput from git
23 ------------------------------------------------------------------------------
25 Some distributions provide package repositories for users that want to test
26 the latest libinput without building it manually.
28 .. note:: The list below is provided for convenience. The libinput community
[all …]
/third_party/libinput/tools/
Dlibinput.man1 .TH libinput "1" "" "libinput @LIBINPUT_VERSION@" "libinput Manual"
3 libinput \- tool to interface with libinput
5 .B libinput [\-\-help|\-\-version] \fI<command>\fR \fI[<args>]\fR
8 libinput is a library to handle input devices and provides device
10 compositors and the X.Org xf86-input-libinput driver.
13 .B "libinput"
15 libinput. These tools create libinput contexts separate from that of
21 libinput's API documentation and details on features and various high-level
23 .I https://wayland.freedesktop.org/libinput/doc/latest/
25 The man page for the X.Org xf86-input-libinput driver is
[all …]
/third_party/libinput/test/
Dlitest.c52 #include <systemd/sd-bus.h>
61 #include "litest-int.h"
62 #include "libinput-util.h"
72 "/91-litest-fuzz-override-REMOVEME-XXXXXX.rules"
74 "/91-litest-test-device-REMOVEME-XXXXXXX.rules"
76 "/80-libinput-device-groups-litest-XXXXXX.rules"
95 of the test run */
129 if (pipe(pipefd) == -1) in litest_backtrace()
160 while ((nread = read(pipefd[0], buf, sizeof(buf) - 1)) > 0) { in litest_backtrace()
243 struct test { struct
[all …]
/third_party/libinput/src/
Devdev-tablet.c25 #include "evdev-tablet.h"
26 #include "util-input-event.h"
41 /* The tablet sends events every ~2ms , 50ms should be plenty enough to
42 detect out-of-range.
43 This value is higher during test suite runs */
46 #define tablet_set_status(tablet_,s_) (tablet_)->status |= (s_)
47 #define tablet_unset_status(tablet_,s_) (tablet_)->status &= ~(s_)
48 #define tablet_has_status(tablet_,s_) (!!((tablet_)->status & (s_)))
51 tablet_get_pressed_buttons(struct tablet_dispatch *tablet, in tablet_get_pressed_buttons() argument
55 const struct button_state *state = &tablet->button_state, in tablet_get_pressed_buttons()
[all …]
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 …]