Peter Hutterer 96c70d46f0 Refuse devices with more than 256 slots
We already had a limitation on synching a max of 256 slots, regardless
what the device reports, this just extends the check to refuse any
device with >256 slots. The kernel already limits to 99 slots for uinput
devices so anything 256 and higher will be a malicious/buggy real
device.

We can't add a test to this because the kernel refuses uinput devices
with more than 99 slots.

Part-of: <https://gitlab.freedesktop.org/libevdev/libevdev/-/merge_requests/135>
2026-04-16 00:21:54 +00:00
2026-02-24 15:05:05 +10:00
2019-06-05 11:15:15 +10:00
2026-02-24 15:05:05 +10:00
2017-01-26 14:25:02 +10:00
2020-11-03 14:42:25 +08:00
2025-12-01 15:12:22 +10:00
2025-12-01 15:12:22 +10:00
2020-10-26 09:06:09 +10:00

libevdev - wrapper library for evdev input devices

libevdev is a wrapper library for evdev devices. it moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc.

https://gitlab.freedesktop.org/libevdev/libevdev.git

Go here for the API documentation: http://www.freedesktop.org/software/libevdev/doc/latest/

File bugs in the freedesktop.org GitLab instance: https://gitlab.freedesktop.org/libevdev/libevdev/issues/

Patches should be submitted as merge requests in the GitLab instance: https://gitlab.freedesktop.org/libevdev/libevdev/merge_requests/

Questions and general comments should be submitted to the input-tools@lists.freedesktop.org mailing list: http://lists.freedesktop.org/mailman/listinfo/input-tools

S
Description
No description provided
Readme
1 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 91.7%
M4 2.6%
Meson 1.8%
Makefile 1.1%
Shell 1%
Other 1.8%