aboutsummaryrefslogtreecommitdiff
path: root/src/udev.c
Commit message (Collapse)AuthorAge
* Use a new "Virtual Device" boolean property to mark virtual devicesPeter Hutterer2011-11-11
Use udev to check for the device's sysfs path, if it contains LNXSYSTM it's a kernel-emulated device. This property can then be used to determine if there are any real devices connected, allowing the desktop environment to e.g. turn off the touchpad whenever there's a mouse attached. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>