aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-10-25 09:59:50 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-11-11 15:42:31 +1000
commit683a55e504f4fc2d1c847c54986439a0c61b2f20 (patch)
tree90738a5c7c402e1e1ab7c847efdb4dda28f11525 /src/evdev.h
parentMove misplaced #endif caused by smooth-scrolling merge (diff)
downloadxf86-input-evdev-683a55e504f4fc2d1c847c54986439a0c61b2f20.tar.gz
xf86-input-evdev-683a55e504f4fc2d1c847c54986439a0c61b2f20.tar.bz2
xf86-input-evdev-683a55e504f4fc2d1c847c54986439a0c61b2f20.zip
Use a new "Virtual Device" boolean property to mark virtual devices
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>
Diffstat (limited to 'src/evdev.h')
0 files changed, 0 insertions, 0 deletions