mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-26 20:20:06 +01:00
This allows multiple devices to share a single libinput context. The new function returns the newly added device immediately. Unlike the udev seat where devices may or may not be added - over the lifetime of the seat - a path-based backend knows immediately if device exists or doesn't exist. Returning the device is required by callers that have the event processing separate from adding devices - by the time we have the DEVICE_ADDED event in the queue we may have other events to process first. And the DEVICE_ADDED event won't easily link to the path we gave it anyway, so it's hard to figure out which DEVICE_ADDED event corresponds to the new device. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| .. | ||
| build-pedantic.c | ||
| litest-bcm5974.c | ||
| litest-int.h | ||
| litest-keyboard.c | ||
| litest-mouse.c | ||
| litest-synaptics.c | ||
| litest-trackpoint.c | ||
| litest-wacom-touch.c | ||
| litest.c | ||
| litest.h | ||
| Makefile.am | ||
| path.c | ||
| pointer.c | ||
| touch.c | ||
| udev.c | ||