mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 22:10:05 +01:00
For conditional touchpad disabling we need two pieces of knowledge: is the device an internal touchpad and is another device an external mouse-like device. For that use-case it's enough to tag any device that's on USB and Bluetooth with pointer capabilities as external mouse. A more complex can be done when needed. The tag function is part of the dispatch interface (to save on udev code) and called before the caller is notified about the new device, i.e. the device is fully configured by the time it needs to be tagged, and other devices can rely on the tags being assigned by the time they get notified about the new device. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> |
||
|---|---|---|
| .. | ||
| evdev-mt-touchpad-buttons.c | ||
| evdev-mt-touchpad-tap.c | ||
| evdev-mt-touchpad.c | ||
| evdev-mt-touchpad.h | ||
| evdev.c | ||
| evdev.h | ||
| filter.c | ||
| filter.h | ||
| libinput-private.h | ||
| libinput-util.c | ||
| libinput-util.h | ||
| libinput-version.h.in | ||
| libinput.c | ||
| libinput.h | ||
| libinput.pc.in | ||
| Makefile.am | ||
| path.c | ||
| path.h | ||
| timer.c | ||
| timer.h | ||
| udev-seat.c | ||
| udev-seat.h | ||