Warn if there are multiple devices with the same syspath
authorPeter Hutterer <peter.hutterer@who-t.net>
Sat, 31 Aug 2013 03:03:47 +0000 (13:03 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 3 Sep 2013 07:01:42 +0000 (17:01 +1000)
commit4b5ffa6bea0d4ac92d567fdb3579baf0fe3ab80d
treee000510b52e528aeffa81eb28cdfe80ee2507deb
parenta6e25fab76949c5d7ffbaee676ad380b33d78cdb
Warn if there are multiple devices with the same syspath

Change to the previous code in that we continue looking at devices
even after we've found one. However, this way we can warn
the user when we can't guarantee syspath correctness.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
libevdev/libevdev-uinput.c