/third_party/libinput/src/ |
D | timer.c | 37 struct libinput *libinput, in libinput_timer_init() argument 42 timer->libinput = libinput; in libinput_timer_init() 53 log_bug_libinput(timer->libinput, in libinput_timer_destroy() 62 libinput_timer_arm_timer_fd(struct libinput *libinput) in libinput_timer_arm_timer_fd() argument 69 list_for_each(timer, &libinput->timer.list, link) { in libinput_timer_arm_timer_fd() 79 r = timerfd_settime(libinput->timer.fd, TFD_TIMER_ABSTIME, &its, NULL); in libinput_timer_arm_timer_fd() 81 log_error(libinput, "timer: timerfd_settime error: %s\n", strerror(errno)); in libinput_timer_arm_timer_fd() 83 libinput->timer.next_expiry = earliest_expire; in libinput_timer_arm_timer_fd() 92 uint64_t now = libinput_now(timer->libinput); in libinput_timer_set_flags() 95 log_bug_client(timer->libinput, in libinput_timer_set_flags() [all …]
|
D | path-seat.c | 33 struct libinput base; 52 path_disable_device(struct libinput *libinput, in path_disable_device() argument 69 path_input_disable(struct libinput *libinput) in path_input_disable() argument 71 struct path_input *input = (struct path_input*)libinput; in path_input_disable() 79 path_disable_device(libinput, device); in path_input_disable() 218 path_input_enable(struct libinput *libinput) in path_input_enable() argument 220 struct path_input *input = (struct path_input*)libinput; in path_input_enable() 225 path_input_disable(libinput); in path_input_enable() 242 path_input_destroy(struct libinput *input) in path_input_destroy() 255 path_create_device(struct libinput *libinput, in path_create_device() argument [all …]
|
D | timer.h | 31 struct libinput; 34 struct libinput *libinput; member 43 libinput_timer_init(struct libinput_timer *timer, struct libinput *libinput, 69 libinput_timer_subsys_init(struct libinput *libinput); 72 libinput_timer_subsys_destroy(struct libinput *libinput); 75 libinput_timer_flush(struct libinput *libinput, uint64_t now);
|
D | libinput.c | 80 check_event_type(struct libinput *libinput, in check_event_type() argument 103 log_bug_client(libinput, in check_event_type() 247 libinput_default_log_func(struct libinput *libinput, in libinput_default_log_func() argument 265 log_msg_va(struct libinput *libinput, in log_msg_va() argument 270 if (is_logged(libinput, priority)) in log_msg_va() 271 libinput->log_handler(libinput, priority, format, args); in log_msg_va() 275 log_msg(struct libinput *libinput, in log_msg() argument 282 log_msg_va(libinput, priority, format, args); in log_msg() 287 log_msg_ratelimit(struct libinput *libinput, in log_msg_ratelimit() argument 300 log_msg_va(libinput, priority, format, args); in log_msg_ratelimit() [all …]
|
D | libinput-private.h | 115 int (*resume)(struct libinput *libinput); 116 void (*suspend)(struct libinput *libinput); 117 void (*destroy)(struct libinput *libinput); 122 struct libinput { struct 170 struct libinput *libinput; argument 435 is_logged(const struct libinput *libinput, in is_logged() argument 438 return libinput->log_handler && in is_logged() 439 libinput->log_priority <= priority; in is_logged() 444 log_msg_ratelimit(struct libinput *libinput, 451 log_msg(struct libinput *libinput, [all …]
|
D | libinput.h | 48 struct libinput; 943 struct libinput * 3340 struct libinput * 3367 libinput_udev_assign_seat(struct libinput *libinput, 3389 struct libinput * 3414 libinput_path_add_device(struct libinput *libinput, 3447 libinput_get_fd(struct libinput *libinput); 3467 libinput_dispatch(struct libinput *libinput); 3481 libinput_get_event(struct libinput *libinput); 3495 libinput_next_event_type(struct libinput *libinput); [all …]
|
D | udev-seat.c | 258 udev_input_disable(struct libinput *libinput) in udev_input_disable() argument 260 struct udev_input *input = (struct udev_input*)libinput; in udev_input_disable() 274 udev_input_enable(struct libinput *libinput) in udev_input_enable() argument 276 struct udev_input *input = (struct udev_input*)libinput; in udev_input_enable() 285 log_info(libinput, in udev_input_enable() 294 log_info(libinput, "udev: failed to bind the udev monitor\n"); in udev_input_enable() 312 udev_input_disable(libinput); in udev_input_enable() 320 udev_input_destroy(struct libinput *input) in udev_input_destroy() 371 struct libinput *libinput = device->seat->libinput; in udev_device_change_seat() local 372 struct udev_input *input = (struct udev_input *)libinput; in udev_device_change_seat() [all …]
|
/third_party/libinput/ |
D | README.md | 1 libinput chapter 4 libinput is a library that provides a full input stack for display servers 8 libinput provides device detection, event handling and abstraction to 9 minimize the amount of custom input code the user of libinput needs to 17 Documentation explaining features available in libinput is available 18 [here](https://wayland.freedesktop.org/libinput/doc/latest/features.html). 20 This includes the [FAQ](https://wayland.freedesktop.org/libinput/doc/latest/faqs.html) 22 [reporting bugs](https://wayland.freedesktop.org/libinput/doc/latest/reporting-bugs.html). 28 The source code of libinput can be found at: 29 https://gitlab.freedesktop.org/libinput/libinput [all …]
|
D | BUILD.gn | 3 ## Build libinput-third.so {{{ 4 config("libinput-third_config") { 21 config("libinput-third_public_config") { 30 ohos_shared_library("libinput-third") { 46 "src/libinput.c", 64 # "src/libinput-util.c", 68 ":libinput-third_config", 72 ":libinput-third_public_config", 86 ## Build libinput-third.so }}} 89 ohos_executable("libinput-debug") { [all …]
|
D | meson.build | 1 project('libinput', 'c', project 9 dir_data = join_paths(get_option('prefix'), get_option('datadir'), 'libinput') 10 dir_sysconf = join_paths(get_option('prefix'), get_option('sysconfdir'), 'libinput') 11 dir_libexec = join_paths(get_option('prefix'), get_option('libexecdir'), 'libinput') 54 doc_url_base = 'https://wayland.freedesktop.org/libinput/doc' 155 executable('libinput-device-group', 156 'udev/libinput-device-group.c', 161 executable('libinput-fuzz-extract', 162 'udev/libinput-fuzz-extract.c', 169 executable('libinput-fuzz-to-zero', [all …]
|
/third_party/libinput/doc/user/ |
D | what-is-libinput.rst | 5 What is libinput? 8 This page describes what libinput is, but more importantly it also describes 9 what libinput is **not**. 14 What libinput is 17 libinput is an input stack for processes that need to provide events from 19 touchscreens and graphics tablets. libinput handles device-specific quirks 22 libinput is designed to handle all input devices available on a system but 23 it is possible to limit which devices libinput has access to. 24 For example, the use of xf86-input-libinput depends on xorg.conf snippets 25 for specific devices. But libinput works best if it handles all input [all …]
|
D | building.rst | 4 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 22 Building libinput 25 libinput uses `meson <https://www.mesonbuild.com>`_ and 33 $> git clone https://gitlab.freedesktop.org/libinput/libinput 34 $> cd libinput 40 When running libinput versions 1.11.x or earlier, you must run 85 To verify the install worked correctly, check that libinput.so.x.x.x is in [all …]
|
D | tools.rst | 7 libinput provides a ``libinput`` tool to query state and events. This tool 9 explanation of the various commands available in the libinput tool is 10 available in the **libinput(1)** man page. 14 - ``libinput list-devices``: to list locally available devices, 15 see :ref:`here <libinput-list-devices>` 16 - ``libinput debug-events``: to monitor and debug events, 17 see :ref:`here <libinput-debug-events>` 18 - ``libinput debug-gui``: to visualize events, 19 see :ref:`here <libinput-debug-gui>` 20 - ``libinput record``: to record an event sequence for replaying, [all …]
|
D | faqs.rst | 7 Frequently asked questions about libinput. 17 Why doesn't libinput support ...? 21 libinput needs to support, please file a bug report. See :ref:`reporting_bugs` 41 :ref:`device-quirks` to specify the range available so libinput can adjust the 48 Why is libinput's pointer acceleration worse than synaptics/evdev 53 in libinput's acceleration code, it may be a disagreement about how pointer 91 libinput does not implement kinetic scrolling for touchpads. Instead it 99 Is libinput GPL-licensed? 102 No, libinput is MIT licensed. The Linux kernel header file linux/input.h in 103 libinput's tree is provided to ensure the same behavior regardless of which [all …]
|
D | contributing.rst | 5 Contributing to libinput 9 So you want to contribute to libinput? Great! We'd love to help you be a part 19 As a freedesktop.org project, libinput follows the `freedesktop.org 36 For IRC, ping user ``whot`` (Peter Hutterer, the libinput maintainer) though 42 <https://gitlab.freedesktop.org/libinput/libinput/issues>`_. It's usually the 49 If you don't already know what you want to improve or fix with libinput, 51 tag in our `issue tracker <https://gitlab.freedesktop.org/libinput/libinput/issues?label_name%5B%5D… 53 possible future feature to libinput. 70 $> git clone https://gitlab.freedesktop.org/libinput/libinput 71 $> cd libinput [all …]
|
/third_party/libinput/test/ |
D | test-keyboard.c | 36 struct libinput *libinput; in START_TEST() local 44 libinput = litest_create_context(); in START_TEST() 47 devices[i] = litest_add_device_with_overrides(libinput, in START_TEST() 53 litest_drain_events(libinput); in START_TEST() 58 libinput_dispatch(libinput); in START_TEST() 59 while ((ev = libinput_get_event(libinput))) { in START_TEST() 70 libinput_dispatch(libinput); in START_TEST() 78 libinput_dispatch(libinput); in START_TEST() 79 while ((ev = libinput_get_event(libinput))) { in START_TEST() 92 libinput_dispatch(libinput); in START_TEST() [all …]
|
D | test-touch.c | 39 struct libinput *li = dev->libinput; in START_TEST() 43 litest_drain_events(dev->libinput); in START_TEST() 70 struct libinput *li = dev->libinput; in START_TEST() 89 struct libinput *libinput; in START_TEST() local 107 libinput = dev->libinput; in START_TEST() 111 libinput_dispatch(libinput); in START_TEST() 113 while ((ev = libinput_get_event(libinput))) { in START_TEST() 137 touch_assert_seat_slot(struct libinput *li, in touch_assert_seat_slot() 163 struct libinput *li = dev1->libinput; in START_TEST() 207 struct libinput *libinput; in START_TEST() local [all …]
|
D | test-touchpad-tap.c | 38 struct libinput *li = dev->libinput; in START_TEST() 62 struct libinput *li = dev->libinput; in START_TEST() 122 struct libinput *li = dev->libinput; in START_TEST() 171 struct libinput *li = dev->libinput; in START_TEST() 238 struct libinput *li = dev->libinput; in START_TEST() 313 struct libinput *li = dev->libinput; in START_TEST() 374 struct libinput *li = dev->libinput; in START_TEST() 422 struct libinput *li = dev->libinput; in START_TEST() 494 struct libinput *li = dev->libinput; in START_TEST() 543 struct libinput *li = dev->libinput; in START_TEST() [all …]
|
D | test-touchpad.c | 42 dwt_init_paired_keyboard(struct libinput *li, in dwt_init_paired_keyboard() 59 struct libinput *li = dev->libinput; in START_TEST() 92 struct libinput *li = dev->libinput; in START_TEST() 121 struct libinput *li = dev->libinput; in test_2fg_scroll() 144 struct libinput *li = dev->libinput; in START_TEST() 170 struct libinput *li = dev->libinput; in START_TEST() 237 struct libinput *li = dev->libinput; in is_single_axis_2fg_scroll() 276 struct libinput *li = dev->libinput; in START_TEST() 311 struct libinput *li = dev->libinput; in START_TEST() 379 struct libinput *li = dev->libinput; in START_TEST() [all …]
|
D | test-log.c | 36 static struct libinput *log_handler_context; 39 simple_log_handler(struct libinput *libinput, in simple_log_handler() argument 46 litest_assert_ptr_eq(libinput, log_handler_context); in simple_log_handler() 53 struct libinput *li; in START_TEST() 66 struct libinput *li; in START_TEST() 90 struct libinput *li; in START_TEST() 110 struct libinput *li; in START_TEST() 140 axisrange_warning_log_handler(struct libinput *libinput, in axisrange_warning_log_handler() argument 157 struct libinput *li = dev->libinput; in START_TEST()
|
D | test-touchpad-buttons.c | 38 struct libinput *li = dev->libinput; in START_TEST() 145 struct libinput *li = dev->libinput; in START_TEST() 170 struct libinput *li = dev->libinput; in START_TEST() 193 struct libinput *li = dev->libinput; in START_TEST() 220 struct libinput *li = dev->libinput; in START_TEST() 254 struct libinput *li = dev->libinput; in START_TEST() 293 struct libinput *li = dev->libinput; in START_TEST() 337 struct libinput *li = dev->libinput; in START_TEST() 382 struct libinput *li = dev->libinput; in START_TEST() 431 struct libinput *li = dev->libinput; in START_TEST() [all …]
|
D | test-trackpoint.c | 38 struct libinput *li = dev->libinput; in START_TEST() 75 struct libinput *li = dev->libinput; in START_TEST() 105 struct libinput *li = dev->libinput; in START_TEST() 138 struct libinput *li = dev->libinput; in START_TEST() 162 struct libinput *li = touchpad->libinput; in START_TEST() 205 struct libinput *li = touchpad->libinput; in START_TEST() 246 struct libinput *li = touchpad->libinput; in START_TEST() 292 struct libinput *li = trackpoint->libinput; in START_TEST() 327 struct libinput *li = trackpoint->libinput; in START_TEST() 361 struct libinput *li = trackpoint->libinput; in START_TEST() [all …]
|
D | test-pointer.c | 40 struct libinput *li = dev->libinput; in test_relative_event() 95 litest_drain_events(dev->libinput); in test_relative_event() 121 libinput_dispatch(dev->libinput); in START_TEST() 123 litest_drain_events(dev->libinput); in START_TEST() 140 struct libinput *li = dev->libinput; in START_TEST() 171 libinput_dispatch(dev->libinput); in START_TEST() 181 struct libinput *li = dev->libinput; in START_TEST() 201 litest_drain_events(dev->libinput); in START_TEST() 229 struct libinput *li = dev->libinput; in test_absolute_event() 257 litest_drain_events(dev->libinput); in START_TEST() [all …]
|
/third_party/libinput/export_include/ |
D | libinput.h | 48 struct libinput; 943 struct libinput * 3340 struct libinput * 3367 libinput_udev_assign_seat(struct libinput *libinput, 3389 struct libinput * 3414 libinput_path_add_device(struct libinput *libinput, 3447 libinput_get_fd(struct libinput *libinput); 3467 libinput_dispatch(struct libinput *libinput); 3481 libinput_get_event(struct libinput *libinput); 3495 libinput_next_event_type(struct libinput *libinput); [all …]
|
/third_party/libinput/doc/api/ |
D | mainpage.dox | 4 This is the libinput API reference. 8 [here](https://wayland.freedesktop.org/libinput/doc/latest). 12 @subsection concepts_initialization Initialization of a libinput context 14 libinput provides two different backends: 22 See section @ref base for information about initializing a libinput context. 26 libinput exposes a single @ref libinput_get_fd "file descriptor" to the 46 libinput does not use device types. All devices have @ref 62 libinput relies on the caller for device configuration. See 65 @subsection example An example libinput program 67 The simplest libinput program looks like this: [all …]
|