Files
libinput/test
Peter Hutterer f04b276ac1 util: add a helper struct for an evdev mask
Allows to keep track of a set of evdev masks, or at least the subset we
care about.

The EV_KEY range is split into two masks to save some memory. The future
use of this is for the plugins to use those masks and some of those will
set BTN_TOOL_PEN and friends. This would immediately create an 81 byte
mask of zeroes just to keep that one bit.

Splitting it into a key/btn mask with the latter starting at BTN_MISC
means we duplicate the infmask struct (2x16 bytes) but instead only use
8 bytes for the mask itself to keep the BTN_TOOL_PEN bits.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1271>
2025-08-01 14:29:44 +10:00
..
2025-04-07 08:43:36 +00:00
2025-07-01 16:42:44 +10:00
2025-07-01 16:42:44 +10:00
2025-07-01 16:42:44 +10:00
2025-07-01 16:42:44 +10:00
2025-07-01 16:42:44 +10:00
2025-07-01 16:42:44 +10:00
2025-07-01 16:42:44 +10:00
2025-07-01 16:42:44 +10:00
2025-07-01 16:42:44 +10:00