libinput/src
Peter Hutterer 8974a15178 util: add a bitmask_t type for bit masks
Previously we used uint32_t for bitmasks but having a custom type means
we're less likely to confuse an int value with a mask type.

Two types of API here, the u32 api for passing in masks and a bit API
for passing in single bits.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1218>
2025-06-18 19:38:14 +10:00
..
builddir.h util: change the builddir_lookup() to return a boolean 2025-04-04 15:47:23 +00:00
evdev-debounce.c Switch some uint32_t usage loops to use evdev_usage_next 2025-06-12 18:20:40 +10:00
evdev-fallback.c Switch some uint32_t usage loops to use evdev_usage_next 2025-06-12 18:20:40 +10:00
evdev-fallback.h Switch the fallback and touchpad backends to use struct evdev_event 2025-06-12 18:20:40 +10:00
evdev-frame.h Switch some uint32_t usage loops to use evdev_usage_next 2025-06-12 18:20:40 +10:00
evdev-middle-button.c Switch the fallback and touchpad backends to use struct evdev_event 2025-06-12 18:20:40 +10:00
evdev-mt-touchpad-buttons.c Drop struct input-event from dispatch->interface->process 2025-06-12 18:20:40 +10:00
evdev-mt-touchpad-edge-scroll.c High-resolution scroll wheel support 2021-08-31 08:45:01 +02:00
evdev-mt-touchpad-gestures.c Switch the fallback and touchpad backends to use struct evdev_event 2025-06-12 18:20:40 +10:00
evdev-mt-touchpad-tap.c Switch the fallback and touchpad backends to use struct evdev_event 2025-06-12 18:20:40 +10:00
evdev-mt-touchpad-thumb.c touchpad: init the thumb size threshold to INT_MAX 2024-12-18 08:24:41 +00:00
evdev-mt-touchpad.c touchpad: remove a workaround for an old libevdev bug 2025-06-16 17:11:14 +10:00
evdev-mt-touchpad.h Switch the fallback and touchpad backends to use struct evdev_event 2025-06-12 18:20:40 +10:00
evdev-plugin.c evdev: implement our evdev device dispatch as plugin 2025-06-18 06:18:54 +00:00
evdev-plugin.h evdev: implement our evdev device dispatch as plugin 2025-06-18 06:18:54 +00:00
evdev-tablet-pad-leds.c pad: fix handling of direct mode switch buttons 2025-03-27 04:57:33 +00:00
evdev-tablet-pad.c Switch some uint32_t usage loops to use evdev_usage_next 2025-06-12 18:20:40 +10:00
evdev-tablet-pad.h pad: be more robust to kernel bugs of multiple EV_ABS 2025-02-12 03:58:23 +00:00
evdev-tablet.c tablet: disable smoothing for uinput devices 2025-06-12 09:49:15 +00:00
evdev-tablet.h Switch the tablet backend to use struct evdev_event 2025-06-12 18:20:40 +10:00
evdev-totem.c Use a newtype for the keycode, button code and pad button 2025-06-12 18:20:40 +10:00
evdev-wheel.c Switch the fallback and touchpad backends to use struct evdev_event 2025-06-12 18:20:40 +10:00
evdev.c evdev: implement our evdev device dispatch as plugin 2025-06-18 06:18:54 +00:00
evdev.h Use a newtype for the keycode, button code and pad button 2025-06-12 18:20:40 +10:00
filter-custom.c sparse: make some variables static 2024-03-18 23:35:34 +00:00
filter-flat.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-low-dpi.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-mouse.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-private.h filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-tablet.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-touchpad-flat.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-touchpad-x230.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-touchpad.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-trackpoint-flat.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-trackpoint.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter.h filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
libinput-git-version.h.in tools: add the git version in the libinput-record output 2018-03-06 14:22:30 +10:00
libinput-log.h Move the log #defines and declarations to a separate header 2025-06-06 13:11:34 +10:00
libinput-plugin-private.h Add an internal plugin system to libinput 2025-06-18 06:18:53 +00:00
libinput-plugin-system.h evdev: implement our evdev device dispatch as plugin 2025-06-18 06:18:54 +00:00
libinput-plugin.c evdev: implement our evdev device dispatch as plugin 2025-06-18 06:18:54 +00:00
libinput-plugin.h plugins: Add the ability for a plugin to inject evdev frames 2025-06-18 06:18:54 +00:00
libinput-private-config.c gesutures: allow to configure hold gestures 2021-06-09 01:18:58 +00:00
libinput-private-config.h gesutures: allow to configure hold gestures 2021-06-09 01:18:58 +00:00
libinput-private.h plugins: Add the ability for a plugin to inject evdev frames 2025-06-18 06:18:54 +00:00
libinput-restore-selinux-context.sh meson: Fix absolute libdir case in install script 2018-02-16 16:57:30 +10:00
libinput-uninstalled.pc.in buildsystem: add missing uninstalled pkg-config infra 2016-08-30 17:18:39 +10:00
libinput-util.h util: add an _unused_ macro and replace LIBINPUT_UNUSED 2025-04-16 17:04:58 +10:00
libinput-version.h.in COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
libinput-versionsort.h Define the versionsort overrides as inlines 2021-07-28 12:50:11 +10:00
libinput.c Add an internal plugin system to libinput 2025-06-18 06:18:53 +00:00
libinput.h Constify libinput_config_accel_set_points() 2025-05-06 04:34:46 +00:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym touchpad: implement support for three-finger drag 2025-02-18 06:44:01 +00:00
path-seat.c evdev: implement our evdev device dispatch as plugin 2025-06-18 06:18:54 +00:00
quirks.c evdev: detect virtual devices 2025-06-08 23:55:10 +00:00
quirks.h evdev: detect virtual devices 2025-06-08 23:55:10 +00:00
timer.c Move libinput_now() to our timer.c helper functions 2025-06-06 13:11:32 +10:00
timer.h Move libinput_now() to our timer.c helper functions 2025-06-06 13:11:32 +10:00
udev-seat.c evdev: implement our evdev device dispatch as plugin 2025-06-18 06:18:54 +00:00
udev-seat.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
util-backtrace.h test: add extra highlighting for the backtrace 2025-03-14 09:52:30 +10:00
util-bits.h util: add a bitmask_t type for bit masks 2025-06-18 19:38:14 +10:00
util-files.c util: return early when listing files from a NULL directory list 2025-06-05 00:49:57 +00:00
util-files.h util: add a tmpdir helper 2025-05-26 05:22:33 +00:00
util-input-event.h Introduce our own evdev_event struct 2025-06-12 18:20:40 +10:00
util-libinput.c util: fix a memleak for the dwtp string 2025-06-18 12:22:21 +10:00
util-libinput.h Move the event printing out into a utility 2025-03-13 06:13:38 +00:00
util-list.c util: add a number of list helpers 2025-06-03 09:10:15 +00:00
util-list.h util: add a number of list helpers 2025-06-03 09:10:15 +00:00
util-macros.h util: add ANSI escape codes for rgb and background rgb 2025-06-17 13:50:58 +10:00
util-matrix.h util: make a float to int conversion explicit 2024-10-29 10:18:54 +10:00
util-mem.h util: move zalloc to util-mem.h 2025-05-26 05:22:33 +00:00
util-multivalue.h Add a few missing includes for config.h 2025-04-04 15:47:23 +00:00
util-newtype.h util: add a newtype macro 2025-04-04 11:05:20 +00:00
util-prop-parsers.c Replace strneq() with hardcoded lengths with strstartswith() 2025-01-20 10:29:47 +00:00
util-prop-parsers.h quirks: allow overriding of AttrEventCode and AttrInputProp 2022-11-28 08:25:41 +10:00
util-range.h util: add the range handling as separate header file 2024-10-30 23:20:42 +00:00
util-ratelimit.c [clang-tidy] do not use else after return 2020-08-27 01:17:24 -07:00
util-ratelimit.h [clang-tidy] fix inconsistent declarations 2020-08-27 01:00:31 -07:00
util-stringbuf.h util: define a cleanup for stringbuf 2025-04-16 17:04:58 +10:00
util-strings.c util: add a helper to find substrings in a strv 2025-05-26 05:22:33 +00:00
util-strings.h util: add safe_atou64 for 64-bit values 2025-06-17 13:50:58 +10:00
util-time.h util: add a bunch more time conversions 2024-10-30 23:20:42 +00:00
util-udev.h evdev: detect virtual devices 2025-06-08 23:55:10 +00:00