Do not set devices with devpath containing 'misc' or 'rc' as virtual,
considering them as physically connected devices like Bluetooth remocons.
Change-Id: I11fcf14953652cf30a1d243ed4cf54dea37e00e4
udev_device = libinput_device_get_udev_device(edev->device);
devpath = udev_device_get_property_value(udev_device, "DEVPATH");
- if (devpath && strstr(devpath, "virtual"))
+ if (devpath && strstr(devpath, "virtual/input"))
{
if (clas == ECORE_DEVICE_CLASS_MOUSE)
subclas = ECORE_DEVICE_SUBCLASS_VIRTUAL_MOUSE;