Add Device::GetDeviceNode() to return device node path from an evemu device
evemu doesn't export this information and even evemu-device just trawls through the file system to print this info. So do the same here, noting the time before evemu_create() and the ctime of the new device file. If the latter is later than the former and the device names match, we can assume this is our device. Signed-off-by:Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Chase Douglas <chase.douglas@canonical.com>
Please register or sign in to comment